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.001108/0.001108, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.00121/0.00121, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9259/0.9259, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.342e-06/1.342e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.348e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003868/0.003891, allocations: 3.403 MB / 328 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.006052, allocations: 1.398 MB / 329.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.006272, allocations: 12 kB / 329.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.007358, allocations: 0.7425 MB / 330.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008103/0.008169, allocations: 385.8 kB / 330.5 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007844/0.008953, allocations: 0.5169 MB / 331 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.009379, allocations: 489.5 kB / 331.5 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000564/0.009943, allocations: 414.8 kB / 331.9 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.0103, allocations: 319.2 kB / 332.2 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.01051, allocations: 211.4 kB / 332.4 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.01055, allocations: 44 kB / 332.5 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003639/0.01092, allocations: 211.7 kB / 332.7 MB, free: 7.797 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.01098, allocations: 107.6 kB / 332.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.0111, allocations: 163.6 kB / 332.9 MB, free: 7.531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.01169, allocations: 0.7165 MB / 333.7 MB, free: 6.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01169, allocations: 0 / 333.7 MB, free: 6.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.0117, allocations: 0 / 333.7 MB, free: 6.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.0117, allocations: 0 / 333.7 MB, free: 6.812 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.001344/0.01305, allocations: 0.8524 MB / 334.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.01309, allocations: 8.031 kB / 334.5 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.01321, allocations: 103.9 kB / 334.6 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.01497, allocations: 472.2 kB / 335.1 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.01549, allocations: 257 kB / 335.3 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.01553, allocations: 37.69 kB / 335.4 MB, free: 5.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.133e-05/0.01559, allocations: 52.38 kB / 335.4 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007176/0.0163, allocations: 0.5593 MB / 336 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.01632, allocations: 192 / 336 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.01636, allocations: 23.94 kB / 336 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.01637, allocations: 12 kB / 336 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.01705, allocations: 0.579 MB / 336.6 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.01904, allocations: 1.603 MB / 338.2 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.02005, allocations: 0.5625 MB / 338.8 MB, free: 1.559 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.0204, allocations: 230.2 kB / 339 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.359e-05/0.02047, allocations: 24.48 kB / 339 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.02049, allocations: 35 kB / 339 MB, free: 1.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.265e-06/0.0205, allocations: 4 kB / 339 MB, free: 1.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001313/0.02181, allocations: 0.6655 MB / 339.7 MB, free: 0.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.02184, allocations: 55.91 kB / 339.8 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.02199, allocations: 198 kB / 340 MB, free: 320 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.02201, allocations: 37.7 kB / 340 MB, free: 276 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.0221, allocations: 221 kB / 340.2 MB, free: 52 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.224e-05/0.0222, allocations: 158.8 kB / 340.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.284e-05/0.02229, allocations: 90.14 kB / 340.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.02237, allocations: 334.8 kB / 340.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.02256, allocations: 156.9 kB / 340.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.02281, allocations: 241.9 kB / 341.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.02324, allocations: 417.9 kB / 341.6 MB, free: 14.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.02325, allocations: 7.75 kB / 341.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006467/0.02389, allocations: 0.5295 MB / 342.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.02391, allocations: 8 kB / 342.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.02392, allocations: 4 kB / 342.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.02415, allocations: 80.8 kB / 342.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.02436, allocations: 99.83 kB / 342.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.02559, allocations: 1.655 MB / 344 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.02573, allocations: 47.72 kB / 344 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.02576, allocations: 16 kB / 344 MB, free: 12.04 MB / 314.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.0001573/0.02591, allocations: 173.7 kB / 344.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.02595, allocations: 23.86 kB / 344.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006809/0.02663, allocations: 0.5409 MB / 344.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.02664, allocations: 8 kB / 344.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.02664, allocations: 0 / 344.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.02665, allocations: 0 / 344.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.02773, allocations: 1.063 MB / 345.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.02773, allocations: 0 / 345.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.0279, allocations: 83.83 kB / 345.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001637/0.02806, allocations: 81.09 kB / 346 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.02809, allocations: 15.98 kB / 346 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.02919, allocations: 1.662 MB / 347.7 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02919, allocations: 3.938 kB / 347.7 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008247/0.03002, allocations: 0.8012 MB / 348.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.03005, allocations: 39.72 kB / 348.5 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.03007, allocations: 4 kB / 348.5 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.03018, allocations: 23.98 kB / 348.5 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.03025, allocations: 40.48 kB / 348.6 MB, free: 7.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.03027, allocations: 16 kB / 348.6 MB, free: 7.246 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.194e-05/0.03035, allocations: 135.2 kB / 348.7 MB, free: 7.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03035, allocations: 0 / 348.7 MB, free: 7.113 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004042/0.03076, allocations: 151.7 kB / 348.9 MB, free: 6.965 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.001209/0.03197, allocations: 1.381 MB / 350.2 MB, free: 5.543 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007203/0.03269, allocations: 0.5398 MB / 350.8 MB, free: 4.992 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.03269, allocations: 4 kB / 350.8 MB, free: 4.988 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.03301, allocations: 362 kB / 351.1 MB, free: 4.621 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.03329, allocations: 31 kB / 351.2 MB, free: 4.594 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.03649, allocations: 3.436 MB / 354.6 MB, free: 1.004 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.03665, allocations: 208.6 kB / 354.8 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.03677, allocations: 42.97 kB / 354.9 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.03691, allocations: 144.4 kB / 355 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03691, allocations: 4 kB / 355 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.06382, allocations: 8.537 MB / 363.5 MB, free: 8.215 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.219, allocations: 3.984 kB / 363.5 MB, free: 8.211 MB / 330.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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: 9.001802165992558]