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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.319/2.319, allocations: 222.9 MB / 241.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 47.98 kB / 300.7 MB, free: 5.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1512, allocations: 49.45 MB / 350.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.009161/0.1605, allocations: 3.683 MB / 353.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004242/0.1648, allocations: 1.425 MB / 355.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004854/0.1653, allocations: 11.94 kB / 355.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00318/0.1685, allocations: 0.7565 MB / 356 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.1709, allocations: 0.5315 MB / 356.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1724, allocations: 428.9 kB / 357 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009156/0.1733, allocations: 462 kB / 357.5 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.1744, allocations: 394.1 kB / 357.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005347/0.175, allocations: 207.2 kB / 358 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005459/0.1755, allocations: 259 kB / 358.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.1757, allocations: 40 kB / 358.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007762/0.1765, allocations: 215.8 kB / 358.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.1766, allocations: 103.6 kB / 358.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004056/0.1771, allocations: 230.9 kB / 358.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.1785, allocations: 0.6697 MB / 359.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1785, allocations: 0 / 359.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1785, allocations: 0 / 359.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.1786, allocations: 0 / 359.5 MB, free: 10.9 MB / 302.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.004142/0.1827, allocations: 0.9053 MB / 360.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.1828, allocations: 12.03 kB / 360.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002632/0.1831, allocations: 99.94 kB / 360.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007422/0.1905, allocations: 491.9 kB / 361 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008287/0.1914, allocations: 307.6 kB / 361.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.646e-05/0.1915, allocations: 41.69 kB / 361.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.1917, allocations: 60.28 kB / 361.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.1936, allocations: 0.5179 MB / 362 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.1937, allocations: 0 / 362 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.138e-05/0.1937, allocations: 27.98 kB / 362 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.1938, allocations: 12 kB / 362 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.1956, allocations: 0.5673 MB / 362.6 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005023/0.2007, allocations: 1.877 MB / 364.4 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/0.2044, allocations: 2.195 MB / 366.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006937/0.2051, allocations: 214.1 kB / 366.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.2053, allocations: 93.47 kB / 366.9 MB, free: 2.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.2054, allocations: 39 kB / 367 MB, free: 2.828 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 4.158e-06/0.2054, allocations: 0 / 367 MB, free: 2.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.003476/0.2089, allocations: 0.7817 MB / 367.7 MB, free: 2.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.2089, allocations: 67.77 kB / 367.8 MB, free: 1.941 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.2093, allocations: 186.3 kB / 368 MB, free: 1.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.2093, allocations: 37.7 kB / 368 MB, free: 1.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.2096, allocations: 224.4 kB / 368.3 MB, free: 1.484 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.2098, allocations: 157.6 kB / 368.4 MB, free: 1.328 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.21, allocations: 86.25 kB / 368.5 MB, free: 1.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.2102, allocations: 334.8 kB / 368.8 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.2107, allocations: 149.1 kB / 369 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/0.2114, allocations: 232.8 kB / 369.2 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.2125, allocations: 399.4 kB / 369.6 MB, free: 96 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.2126, allocations: 4 kB / 369.6 MB, free: 92 kB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.2413/0.4538, allocations: 0.5264 MB / 370.1 MB, free: 25.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.4539, allocations: 6.188 kB / 370.1 MB, free: 25.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.4539, allocations: 2.391 kB / 370.1 MB, free: 25.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000529/0.4545, allocations: 92.03 kB / 370.2 MB, free: 25.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005431/0.455, allocations: 92.11 kB / 370.3 MB, free: 25.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.4576, allocations: 2.039 MB / 372.3 MB, free: 23.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.458, allocations: 47.03 kB / 372.4 MB, free: 23.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.4581, allocations: 17.22 kB / 372.4 MB, free: 23.78 MB / 302.1 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.0002597/0.4583, allocations: 170.8 kB / 372.6 MB, free: 23.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-05/0.4584, allocations: 32.39 kB / 372.6 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.4601, allocations: 0.5449 MB / 373.1 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.4601, allocations: 5.625 kB / 373.1 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4602, allocations: 2.688 kB / 373.2 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.4602, allocations: 2.391 kB / 373.2 MB, free: 23.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.4627, allocations: 1.132 MB / 374.3 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.4627, allocations: 1.266 kB / 374.3 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004788/0.4632, allocations: 82.67 kB / 374.4 MB, free: 22.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004024/0.4636, allocations: 87.03 kB / 374.5 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.998e-05/0.4637, allocations: 13.39 kB / 374.5 MB, free: 22.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.4662, allocations: 2.04 MB / 376.5 MB, free: 21.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4662, allocations: 1.125 kB / 376.5 MB, free: 21.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.4683, allocations: 0.7882 MB / 377.3 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.4685, allocations: 110.4 kB / 377.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.4686, allocations: 15.44 kB / 377.4 MB, free: 20.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.4689, allocations: 18.47 kB / 377.4 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.4691, allocations: 38.31 kB / 377.5 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.4692, allocations: 14.14 kB / 377.5 MB, free: 20.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.4693, allocations: 136.5 kB / 377.6 MB, free: 20.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4693, allocations: 1.25 kB / 377.6 MB, free: 20.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009971/0.4704, allocations: 145.9 kB / 377.8 MB, free: 20.39 MB / 302.1 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.00245/0.4728, allocations: 1.381 MB / 379.1 MB, free: 19.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.4748, allocations: 0.584 MB / 379.7 MB, free: 19.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4748, allocations: 3.828 kB / 379.7 MB, free: 19.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000984/0.4758, allocations: 378.7 kB / 380.1 MB, free: 18.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007862/0.4766, allocations: 28.36 kB / 380.1 MB, free: 18.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008263/0.4849, allocations: 3.385 MB / 383.5 MB, free: 16.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.4855, allocations: 0.8143 MB / 384.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003667/0.4859, allocations: 45.52 kB / 384.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.4862, allocations: 134.8 kB / 384.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4862, allocations: 0 / 384.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03987/0.5261, allocations: 7.472 MB / 392 MB, free: 13.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.08, allocations: 4.75 kB / 392 MB, free: 13.8 MB / 302.1 MB (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches