Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 123.4 kB / 17.79 MB, free: 5.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 204.3 kB / 20.74 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 47.92 kB / 373.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1186, allocations: 53.34 MB / 426.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.2397/0.3583, allocations: 6.033 MB / 432.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003403/0.3617, allocations: 1.73 MB / 434.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007274/0.3624, allocations: 40.88 kB / 434.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.363, allocations: 249.1 kB / 434.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.3635, allocations: 227.5 kB / 435.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.3646, allocations: 0.5185 MB / 435.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.3661, allocations: 1.387 MB / 437 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007399/0.3668, allocations: 447.1 kB / 437.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.3679, allocations: 0.4897 MB / 437.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008447/0.3687, allocations: 0.4953 MB / 438.4 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.369, allocations: 122.2 kB / 438.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.3693, allocations: 142.5 kB / 438.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.3695, allocations: 262.2 kB / 438.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004687/0.37, allocations: 0.6109 MB / 439.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.372, allocations: 1.642 MB / 441.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.372, allocations: 1.125 kB / 441.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.372, allocations: 0 / 441.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.438e-05/0.372, allocations: 0 / 441.2 MB, free: 4.746 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002288/0.3743, allocations: 1.497 MB / 442.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3744, allocations: 9.656 kB / 442.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000391/0.3747, allocations: 167.7 kB / 442.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.3759, allocations: 0.7697 MB / 443.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-05/0.376, allocations: 86.69 kB / 443.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.3762, allocations: 124 kB / 443.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.3783, allocations: 1.267 MB / 445.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/0.3784, allocations: 11.75 kB / 445.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.884e-05/0.3785, allocations: 60.12 kB / 445.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/0.3785, allocations: 32.78 kB / 445.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.38, allocations: 0.6874 MB / 445.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007396/0.3874, allocations: 6.796 MB / 452.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009217/0.3883, allocations: 256.1 kB / 452.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.3887, allocations: 160.8 kB / 453.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.3889, allocations: 84.48 kB / 453.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.3889, allocations: 37.7 kB / 453.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.926e-06/0.3889, allocations: 4 kB / 453.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.003016/0.392, allocations: 1.423 MB / 454.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.392, allocations: 84.34 kB / 454.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.3931, allocations: 0.6651 MB / 455.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.3931, allocations: 31.8 kB / 455.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/0.3937, allocations: 0.7051 MB / 456.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.3938, allocations: 123.8 kB / 456.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.394, allocations: 140.8 kB / 456.4 MB, free: 9.652 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003054/0.3943, allocations: 387.9 kB / 456.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.3947, allocations: 146.9 kB / 456.9 MB, free: 9.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/0.3954, allocations: 0.5496 MB / 457.5 MB, free: 8.652 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.3967, allocations: 0.9512 MB / 458.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.3967, allocations: 4.969 kB / 458.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00145/0.3982, allocations: 0.8002 MB / 459.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.3982, allocations: 15.59 kB / 459.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.3982, allocations: 13.75 kB / 459.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002952/0.3985, allocations: 86.84 kB / 459.3 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/0.3991, allocations: 184.5 kB / 459.5 MB, free: 7.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.4023, allocations: 3.328 MB / 462.8 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.4029, allocations: 32.97 kB / 462.9 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.403, allocations: 40.34 kB / 462.9 MB, free: 4.031 MB / 366.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006552/0.4037, allocations: 276.8 kB / 463.2 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.4038, allocations: 74.06 kB / 463.2 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.4039, allocations: 76.5 kB / 463.3 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4039, allocations: 5.266 kB / 463.3 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/0.404, allocations: 1.688 kB / 463.3 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.404, allocations: 1.281 kB / 463.3 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.4062, allocations: 1.253 MB / 464.6 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4062, allocations: 0 / 464.6 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.4065, allocations: 69.61 kB / 464.6 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/0.4067, allocations: 56.33 kB / 464.7 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.4067, allocations: 7.516 kB / 464.7 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.4092, allocations: 3.062 MB / 467.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4092, allocations: 1.031 kB / 467.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009884/0.4102, allocations: 0.6354 MB / 468.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.4104, allocations: 146.2 kB / 468.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.4104, allocations: 7.906 kB / 468.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.4107, allocations: 16.77 kB / 468.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.4108, allocations: 30.47 kB / 468.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.4108, allocations: 8.625 kB / 468.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006191/0.4114, allocations: 440.2 kB / 469 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4114, allocations: 0 / 469 MB, free: 14.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001079/0.4125, allocations: 155.6 kB / 469.2 MB, free: 14.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001853/0.4127, allocations: 111.8 kB / 469.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.4139, allocations: 0.6405 MB / 469.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4139, allocations: 0 / 469.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006271/0.4146, allocations: 344.6 kB / 470.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.4151, allocations: 86.62 kB / 470.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.419, allocations: 1.853 MB / 472.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009867/0.4199, allocations: 1.034 MB / 473.3 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003456/0.4203, allocations: 90.58 kB / 473.3 MB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.4204, allocations: 56.11 kB / 473.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4204, allocations: 0 / 473.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of Templates: time 0.01579/0.4362, allocations: 5.684 MB / 479.1 MB, free: 9.207 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.006443101912737]