Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001401/0.001401, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001572/0.001572, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.797 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 47.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.229, allocations: 53.37 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005071/0.2341, allocations: 3.403 MB / 434.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.2366, allocations: 1.39 MB / 435.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.2368, allocations: 12 kB / 435.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.2386, allocations: 0.6922 MB / 436.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009747/0.2395, allocations: 389.3 kB / 437 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.2407, allocations: 0.5191 MB / 437.5 MB, free: 260 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.2412, allocations: 473.9 kB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006874/0.2419, allocations: 418 kB / 438.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.2422, allocations: 223.2 kB / 438.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.2426, allocations: 238.9 kB / 438.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-05/0.2426, allocations: 44 kB / 438.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.243, allocations: 215.7 kB / 439.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.544e-05/0.2431, allocations: 107.6 kB / 439.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.2433, allocations: 191.1 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000844/0.2442, allocations: 0.7083 MB / 440.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2442, allocations: 4 kB / 440.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2442, allocations: 0 / 440.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.2442, allocations: 0 / 440.1 MB, free: 13.66 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002164/0.2463, allocations: 0.8563 MB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2464, allocations: 8.031 kB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.2465, allocations: 104 kB / 441 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003542/0.2501, allocations: 468.2 kB / 441.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.2506, allocations: 253.8 kB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.2506, allocations: 41.69 kB / 441.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.2507, allocations: 60.33 kB / 441.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.2518, allocations: 0.5508 MB / 442.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.2518, allocations: 4 kB / 442.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.2518, allocations: 24 kB / 442.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.2519, allocations: 12 kB / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.253, allocations: 0.579 MB / 443 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.2561, allocations: 1.599 MB / 444.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.2576, allocations: 0.5506 MB / 445.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.2581, allocations: 226 kB / 445.4 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.387e-05/0.2582, allocations: 24.41 kB / 445.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.2582, allocations: 43 kB / 445.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.124e-06/0.2583, allocations: 0 / 445.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001883/0.2601, allocations: 0.6674 MB / 446.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.2602, allocations: 55.84 kB / 446.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.2604, allocations: 186.3 kB / 446.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.2604, allocations: 33.7 kB / 446.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.2606, allocations: 229 kB / 446.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.2607, allocations: 174.5 kB / 446.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.2609, allocations: 82.14 kB / 446.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.261, allocations: 342.8 kB / 447.2 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.2614, allocations: 152.9 kB / 447.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/0.2618, allocations: 237.9 kB / 447.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007936/0.2626, allocations: 420.9 kB / 448 MB, free: 5.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2626, allocations: 0 / 448 MB, free: 5.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001128/0.2637, allocations: 0.5356 MB / 448.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2637, allocations: 8 kB / 448.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2637, allocations: 0 / 448.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/0.2641, allocations: 88.97 kB / 448.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.2645, allocations: 95.88 kB / 448.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.2665, allocations: 1.655 MB / 450.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.2668, allocations: 47.62 kB / 450.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.2668, allocations: 23.98 kB / 450.4 MB, free: 2.883 MB / 350.1 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.0002217/0.267, allocations: 165.7 kB / 450.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.2671, allocations: 23.86 kB / 450.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.2683, allocations: 0.5396 MB / 451.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2683, allocations: 4 kB / 451.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.2683, allocations: 11.94 kB / 451.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2683, allocations: 3.984 kB / 451.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.2702, allocations: 1.061 MB / 452.2 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2702, allocations: 4.062 kB / 452.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.2705, allocations: 75.91 kB / 452.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/0.2708, allocations: 80.73 kB / 452.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.2708, allocations: 12 kB / 452.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.2727, allocations: 1.65 MB / 454.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.968e-06/0.2727, allocations: 4.031 kB / 454.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.2742, allocations: 0.7992 MB / 454.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.2742, allocations: 35.7 kB / 454.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.615e-05/0.2743, allocations: 12 kB / 454.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.2745, allocations: 19.98 kB / 454.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.2746, allocations: 48.23 kB / 455 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.2746, allocations: 15.98 kB / 455 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.2748, allocations: 132.2 kB / 455.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2748, allocations: 0 / 455.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005255/0.2753, allocations: 155.6 kB / 455.3 MB, free: 13.82 MB / 366.1 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.001889/0.2772, allocations: 1.375 MB / 456.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.2783, allocations: 0.5465 MB / 457.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2783, allocations: 0 / 457.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006246/0.279, allocations: 360.8 kB / 457.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.2793, allocations: 47.84 kB / 457.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005237/0.2846, allocations: 3.452 MB / 461 MB, free: 7.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.2848, allocations: 204.8 kB / 461.2 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.285, allocations: 46.95 kB / 461.3 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.2852, allocations: 143.4 kB / 461.4 MB, free: 7.43 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2852, allocations: 0 / 461.4 MB, free: 7.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/0.3267, allocations: 8.398 MB / 469.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.97, allocations: 3.281 kB / 469.8 MB, free: 15.2 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv. Warning: Get data of variable resistor.pin_p.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.430406710132957]