Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009041/0.0009041, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007747/0.0007747, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8708/0.8708, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.409e-05/4.534e-05, allocations: 2.281 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.002969/0.003014, allocations: 3.379 MB / 321.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.004565, allocations: 1.335 MB / 323.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.004719, allocations: 12 kB / 323.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.005872, allocations: 0.7308 MB / 323.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006779/0.00655, allocations: 0.5322 MB / 324.4 MB, free: 344 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.007005, allocations: 410.1 kB / 324.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.007357, allocations: 473.7 kB / 325.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004803/0.007837, allocations: 422.2 kB / 325.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.008117, allocations: 315.2 kB / 326 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.0083, allocations: 211.4 kB / 326.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.008341, allocations: 44 kB / 326.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.008606, allocations: 195.7 kB / 326.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.008659, allocations: 115.6 kB / 326.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.528e-05/0.008754, allocations: 155.6 kB / 326.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005216/0.009276, allocations: 0.7165 MB / 327.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.009277, allocations: 4 kB / 327.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009278, allocations: 0 / 327.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.009284, allocations: 0 / 327.4 MB, free: 13.32 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001231/0.01052, allocations: 0.8446 MB / 328.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.01055, allocations: 8.922 kB / 328.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.01066, allocations: 104 kB / 328.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.01231, allocations: 0.4884 MB / 328.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.01262, allocations: 249 kB / 329.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.01265, allocations: 45.69 kB / 329.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.0127, allocations: 52.33 kB / 329.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006237/0.01333, allocations: 0.5554 MB / 329.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.01334, allocations: 192 / 329.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.01338, allocations: 27.94 kB / 329.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.01339, allocations: 16 kB / 329.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006569/0.01405, allocations: 0.5712 MB / 330.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.01593, allocations: 1.58 MB / 332 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008296/0.01676, allocations: 0.5386 MB / 332.5 MB, free: 8.098 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.01704, allocations: 234.2 kB / 332.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.01708, allocations: 20.42 kB / 332.7 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.0171, allocations: 39.06 kB / 332.8 MB, free: 7.797 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.714e-06/0.0171, allocations: 0 / 332.8 MB, free: 7.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001016/0.01812, allocations: 0.6615 MB / 333.4 MB, free: 7.129 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.01814, allocations: 59.91 kB / 333.5 MB, free: 7.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.01826, allocations: 194.2 kB / 333.7 MB, free: 6.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.01829, allocations: 33.7 kB / 333.7 MB, free: 6.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.01837, allocations: 225 kB / 333.9 MB, free: 6.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.546e-05/0.01845, allocations: 166.5 kB / 334.1 MB, free: 6.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.01854, allocations: 90.12 kB / 334.2 MB, free: 6.336 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.01862, allocations: 338.8 kB / 334.5 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.01879, allocations: 144.9 kB / 334.7 MB, free: 5.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.01901, allocations: 249.9 kB / 334.9 MB, free: 5.582 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.01943, allocations: 417.9 kB / 335.3 MB, free: 5.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.01943, allocations: 7.938 kB / 335.3 MB, free: 5.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005942/0.02003, allocations: 0.5256 MB / 335.9 MB, free: 4.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.02004, allocations: 12 kB / 335.9 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.02005, allocations: 3.984 kB / 335.9 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.02026, allocations: 80.8 kB / 336 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.02046, allocations: 95.83 kB / 336 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.02157, allocations: 1.643 MB / 337.7 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.0217, allocations: 59.55 kB / 337.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.02172, allocations: 16 kB / 337.8 MB, free: 2.574 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.02185, allocations: 165.7 kB / 337.9 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.02188, allocations: 27.92 kB / 338 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007865/0.02267, allocations: 0.5448 MB / 338.5 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.02267, allocations: 4 kB / 338.5 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.02268, allocations: 0 / 338.5 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.02268, allocations: 3.984 kB / 338.5 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.02371, allocations: 1.051 MB / 339.6 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.02371, allocations: 4.062 kB / 339.6 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.02388, allocations: 79.89 kB / 339.6 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001499/0.02403, allocations: 84.73 kB / 339.7 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.02405, allocations: 11.98 kB / 339.7 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009903/0.02504, allocations: 1.663 MB / 341.4 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.02504, allocations: 3.984 kB / 341.4 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.02585, allocations: 0.8012 MB / 342.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.02588, allocations: 31.69 kB / 342.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.0259, allocations: 15.98 kB / 342.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.02601, allocations: 16 kB / 342.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.02607, allocations: 40.36 kB / 342.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.02609, allocations: 16 kB / 342.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.873e-05/0.02617, allocations: 136.2 kB / 342.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02617, allocations: 4 kB / 342.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.02648, allocations: 151.5 kB / 342.6 MB, free: 13.51 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/0.02751, allocations: 1.376 MB / 344 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006331/0.02815, allocations: 0.5438 MB / 344.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02815, allocations: 0 / 344.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.02846, allocations: 353.4 kB / 344.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.02869, allocations: 34.73 kB / 344.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.0317, allocations: 3.415 MB / 348.3 MB, free: 7.578 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.03183, allocations: 216.7 kB / 348.5 MB, free: 7.348 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.03195, allocations: 46.95 kB / 348.6 MB, free: 7.305 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.03208, allocations: 132.5 kB / 348.7 MB, free: 7.176 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03208, allocations: 0 / 348.7 MB, free: 7.176 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.05254, allocations: 8.403 MB / 357.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.572, allocations: 4.062 kB / 357.1 MB, free: 14.93 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor.pin_p.reference.gamma in file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv. Warning: Get data of variable resistor.pin_p.reference.gamma from file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.252067836932838]