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.001897/0.001897, allocations: 123 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001939/0.001939, allocations: 189.2 kB / 20.73 MB, free: 2.328 MB / 14.72 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 1.544/1.544, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001477/0.001477, allocations: 52.06 kB / 365.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1127, allocations: 52.15 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.006167/0.1189, allocations: 3.714 MB / 421.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.1216, allocations: 1.444 MB / 422.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.1218, allocations: 8 kB / 422.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.1238, allocations: 0.7618 MB / 423.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.1251, allocations: 0.5325 MB / 424.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009416/0.126, allocations: 432.8 kB / 424.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005693/0.1266, allocations: 458 kB / 425.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005783/0.1272, allocations: 305.8 kB / 425.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.1275, allocations: 215.2 kB / 425.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003411/0.1279, allocations: 263 kB / 425.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.1279, allocations: 40 kB / 425.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004719/0.1284, allocations: 207.8 kB / 426.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.1285, allocations: 111.6 kB / 426.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.1287, allocations: 226.9 kB / 426.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008588/0.1296, allocations: 0.6848 MB / 427.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1296, allocations: 0 / 427.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1296, allocations: 4 kB / 427.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1296, allocations: 0 / 427.1 MB, free: 3.215 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.002268/0.1318, allocations: 0.9084 MB / 428 MB, free: 2.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1319, allocations: 11.97 kB / 428.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.1321, allocations: 104 kB / 428.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/0.1356, allocations: 496.1 kB / 428.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.1361, allocations: 307.7 kB / 428.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.1361, allocations: 41.69 kB / 429 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.781e-05/0.1362, allocations: 52.38 kB / 429 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009749/0.1372, allocations: 0.5179 MB / 429.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.1372, allocations: 0 / 429.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.125e-05/0.1372, allocations: 24 kB / 429.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.1373, allocations: 16 kB / 429.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.1383, allocations: 0.5634 MB / 430.2 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/0.1414, allocations: 1.87 MB / 432 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.1438, allocations: 2.136 MB / 434.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.1442, allocations: 186.1 kB / 434.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.1443, allocations: 97.52 kB / 434.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.1443, allocations: 46.94 kB / 434.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=47): time 2.254e-06/0.1443, allocations: 0 / 434.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.00207/0.1464, allocations: 0.7818 MB / 435.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.1465, allocations: 55.84 kB / 435.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.1467, allocations: 190.3 kB / 435.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.1467, allocations: 29.7 kB / 435.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1469, allocations: 240.9 kB / 435.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.147, allocations: 162.5 kB / 435.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.1472, allocations: 86.23 kB / 436 MB, free: 9.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1473, allocations: 338.8 kB / 436.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.1477, allocations: 153 kB / 436.5 MB, free: 9.137 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.148, allocations: 224.8 kB / 436.7 MB, free: 8.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.1487, allocations: 403.4 kB / 437.1 MB, free: 8.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1487, allocations: 0 / 437.1 MB, free: 8.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001058/0.1498, allocations: 0.5241 MB / 437.6 MB, free: 7.949 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1498, allocations: 8 kB / 437.6 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1498, allocations: 3.938 kB / 437.6 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003787/0.1502, allocations: 88.8 kB / 437.7 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.1506, allocations: 91.89 kB / 437.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.1529, allocations: 2.049 MB / 439.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.1532, allocations: 39.67 kB / 439.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.1532, allocations: 23.92 kB / 439.9 MB, free: 5.512 MB / 366.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.0002198/0.1535, allocations: 169.8 kB / 440.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.1535, allocations: 23.86 kB / 440.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.1547, allocations: 0.5511 MB / 440.7 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1547, allocations: 4 kB / 440.7 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.1547, allocations: 0 / 440.7 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.1547, allocations: 7.922 kB / 440.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.1565, allocations: 1.131 MB / 441.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.1565, allocations: 4.188 kB / 441.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.1569, allocations: 67.91 kB / 441.9 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002936/0.1571, allocations: 92.73 kB / 442 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.1572, allocations: 12 kB / 442 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.1594, allocations: 2.049 MB / 444 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1594, allocations: 0 / 444 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.1608, allocations: 0.7894 MB / 444.8 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.964e-05/0.1609, allocations: 112.8 kB / 444.9 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.161, allocations: 8 kB / 444.9 MB, free: 248 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.1612, allocations: 24.05 kB / 445 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.1613, allocations: 36.33 kB / 445 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.1613, allocations: 12 kB / 445 MB, free: 176 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1615, allocations: 136.2 kB / 445.1 MB, free: 40 kB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1615, allocations: 0 / 445.1 MB, free: 40 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.1995/0.361, allocations: 146.4 kB / 445.3 MB, free: 30.14 MB / 366.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.001657/0.3627, allocations: 1.361 MB / 446.6 MB, free: 29.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3637, allocations: 0.5411 MB / 447.2 MB, free: 29.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.3637, allocations: 4.844 kB / 447.2 MB, free: 29.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.3642, allocations: 356.5 kB / 447.5 MB, free: 29.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3645, allocations: 30.66 kB / 447.6 MB, free: 29.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.3687, allocations: 3.394 MB / 451 MB, free: 27.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.3689, allocations: 0.8107 MB / 451.8 MB, free: 27.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.3691, allocations: 48.55 kB / 451.8 MB, free: 27.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.3693, allocations: 135.6 kB / 452 MB, free: 27.01 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3693, allocations: 3.781 kB / 452 MB, free: 27.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04062/0.4099, allocations: 7.667 MB / 459.6 MB, free: 26.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.52, allocations: 12.31 kB / 459.6 MB, free: 26.25 MB / 366.1 MB " [Timeout remaining time 649] (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/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) [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: 13.118730150163174]