Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.0008681/0.0008681, 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.00106/0.00106, allocations: 149.1 kB / 23.93 MB, free: 0.6289 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.886/0.886, allocations: 173.3 MB / 200.4 MB, free: 9.441 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.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 318.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.044e-05, allocations: 2.281 kB / 318.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003693/0.003714, allocations: 3.383 MB / 321.8 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.005673, allocations: 1.331 MB / 323.1 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.005887, allocations: 8 kB / 323.1 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.006954, allocations: 0.7377 MB / 323.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008053/0.007759, allocations: 0.5206 MB / 324.4 MB, free: 232 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.008303, allocations: 412.4 kB / 324.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.008691, allocations: 477.7 kB / 325.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004758/0.009167, allocations: 350 kB / 325.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.009478, allocations: 303.2 kB / 325.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.009673, allocations: 203.4 kB / 326.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.009718, allocations: 40 kB / 326.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.01004, allocations: 203.6 kB / 326.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.0101, allocations: 107.6 kB / 326.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.01048, allocations: 159.5 kB / 326.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000621/0.0111, allocations: 0.6971 MB / 327.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.0111, allocations: 0 / 327.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.0111, allocations: 0 / 327.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.01111, allocations: 0 / 327.3 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.001265/0.01238, allocations: 0.8368 MB / 328.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.01241, allocations: 8.922 kB / 328.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.01252, allocations: 104 kB / 328.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.01421, allocations: 496.2 kB / 328.7 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.01464, allocations: 245.1 kB / 329 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.01468, allocations: 45.67 kB / 329 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.01474, allocations: 56.33 kB / 329.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.01542, allocations: 0.5437 MB / 329.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.01544, allocations: 192 / 329.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.01547, allocations: 23.94 kB / 329.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.01548, allocations: 15.98 kB / 329.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006552/0.01614, allocations: 0.5595 MB / 330.2 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.01799, allocations: 1.578 MB / 331.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009075/0.0189, allocations: 0.5635 MB / 332.4 MB, free: 8.098 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.01911, allocations: 193.1 kB / 332.5 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.01916, allocations: 12.44 kB / 332.6 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.01918, allocations: 39.06 kB / 332.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.853e-06/0.01918, allocations: 0 / 332.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001155/0.02034, allocations: 0.7084 MB / 333.3 MB, free: 7.137 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.02037, allocations: 59.91 kB / 333.4 MB, free: 7.066 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.0205, allocations: 190.2 kB / 333.6 MB, free: 6.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.02053, allocations: 41.64 kB / 333.6 MB, free: 6.824 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.02079, allocations: 225 kB / 333.8 MB, free: 6.602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.786e-05/0.02087, allocations: 170.5 kB / 334 MB, free: 6.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.02096, allocations: 82.14 kB / 334.1 MB, free: 6.344 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.02105, allocations: 338.8 kB / 334.4 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.02124, allocations: 160.9 kB / 334.5 MB, free: 5.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.02145, allocations: 224.3 kB / 334.8 MB, free: 5.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.02187, allocations: 396.7 kB / 335.2 MB, free: 5.191 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.02187, allocations: 4 kB / 335.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006259/0.0225, allocations: 0.5294 MB / 335.7 MB, free: 4.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.02252, allocations: 8 kB / 335.7 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.02252, allocations: 0 / 335.7 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/0.02275, allocations: 88.8 kB / 335.8 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.02295, allocations: 95.83 kB / 335.9 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.0243, allocations: 1.926 MB / 337.8 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.02443, allocations: 47.66 kB / 337.8 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.02445, allocations: 16 kB / 337.9 MB, free: 2.359 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.02459, allocations: 169.8 kB / 338 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.02463, allocations: 23.86 kB / 338.1 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.02529, allocations: 0.5488 MB / 338.6 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.02529, allocations: 4 kB / 338.6 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.02529, allocations: 3.938 kB / 338.6 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.0253, allocations: 7.984 kB / 338.6 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.02632, allocations: 1.042 MB / 339.7 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.02633, allocations: 0 / 339.7 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.02649, allocations: 75.91 kB / 339.7 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/0.02666, allocations: 88.73 kB / 339.8 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.02667, allocations: 8 kB / 339.8 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.02803, allocations: 1.918 MB / 341.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02803, allocations: 0 / 341.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000822/0.02885, allocations: 0.7915 MB / 342.5 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.02888, allocations: 35.7 kB / 342.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.0289, allocations: 15.94 kB / 342.6 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.02901, allocations: 15.98 kB / 342.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.02908, allocations: 32.44 kB / 342.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.0291, allocations: 19.92 kB / 342.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.559e-05/0.02917, allocations: 136.3 kB / 342.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02917, allocations: 4 kB / 342.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003926/0.02956, allocations: 151.6 kB / 342.9 MB, free: 13.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (42): * Single equations (assignments): 41 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/0.03068, allocations: 1.363 MB / 344.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006994/0.03138, allocations: 0.54 MB / 344.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.03138, allocations: 0 / 344.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.03172, allocations: 365.6 kB / 345.2 MB, free: 10.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.032, allocations: 31.94 kB / 345.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.03535, allocations: 3.378 MB / 348.6 MB, free: 7.215 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.03552, allocations: 204.8 kB / 348.8 MB, free: 6.992 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.03567, allocations: 50.95 kB / 348.9 MB, free: 6.945 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.03584, allocations: 132.5 kB / 349 MB, free: 6.816 MB / 314.7 MB Notification: Performance of SimCode: time 1.643e-06/0.03584, allocations: 0 / 349 MB, free: 6.816 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.06197, allocations: 8.427 MB / 357.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/7.439, allocations: 0 / 357.4 MB, free: 14.54 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_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_SeriesResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inductor.pin_p.reference.gamma in file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv. Warning: Get data of variable inductor.pin_p.reference.gamma from file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.15099881310016]