Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.0008829/0.0008829, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.004565/0.004565, allocations: 164.6 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8986/0.8986, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.338e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003547/0.00357, allocations: 3.427 MB / 301.9 MB, free: 68 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1295/0.133, allocations: 1.378 MB / 303.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.1332, allocations: 9.25 kB / 303.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.1344, allocations: 0.7355 MB / 304 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009124/0.1353, allocations: 408.7 kB / 304.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009299/0.1362, allocations: 0.5256 MB / 304.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006569/0.1369, allocations: 0.4994 MB / 305.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006413/0.1375, allocations: 429 kB / 305.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/0.138, allocations: 323.2 kB / 306.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.1382, allocations: 227 kB / 306.4 MB, free: 12.15 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.708e-05/0.1383, allocations: 50.53 kB / 306.4 MB, free: 12.15 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005044/0.1388, allocations: 203.7 kB / 306.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.1389, allocations: 121.8 kB / 306.7 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.139, allocations: 177.2 kB / 306.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009749/0.14, allocations: 0.7354 MB / 307.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.14, allocations: 0 / 307.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.14, allocations: 1.062 kB / 307.6 MB, free: 11.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.14, allocations: 0 / 307.6 MB, free: 11.62 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001479/0.1415, allocations: 0.8702 MB / 308.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1415, allocations: 13.83 kB / 308.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.1417, allocations: 105.4 kB / 308.6 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/0.1438, allocations: 0.5927 MB / 309.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.1442, allocations: 258.2 kB / 309.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.1443, allocations: 45.69 kB / 309.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.1443, allocations: 59.81 kB / 309.6 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.1451, allocations: 0.5956 MB / 310.2 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1451, allocations: 4.594 kB / 310.2 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.1452, allocations: 30.06 kB / 310.2 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1452, allocations: 16.84 kB / 310.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007971/0.146, allocations: 0.6385 MB / 310.9 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.148, allocations: 1.681 MB / 312.5 MB, free: 9.094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.149, allocations: 0.6035 MB / 313.1 MB, free: 8.875 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.1494, allocations: 237.9 kB / 313.4 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.1494, allocations: 12.23 kB / 313.4 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.1494, allocations: 38.42 kB / 313.4 MB, free: 8.742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 2.535e-06/0.1494, allocations: 0 / 313.4 MB, free: 8.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=49): time 0.001117/0.1505, allocations: 0.6754 MB / 314.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.1506, allocations: 66.09 kB / 314.2 MB, free: 8.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1507, allocations: 208 kB / 314.4 MB, free: 8.266 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1508, allocations: 31.11 kB / 314.4 MB, free: 8.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.1508, allocations: 252 kB / 314.6 MB, free: 8.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.1509, allocations: 178 kB / 314.8 MB, free: 7.879 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.151, allocations: 94.98 kB / 314.9 MB, free: 7.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.149e-05/0.1511, allocations: 334.1 kB / 315.2 MB, free: 7.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.1513, allocations: 165.1 kB / 315.4 MB, free: 7.445 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.1515, allocations: 290.1 kB / 315.7 MB, free: 7.238 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.152, allocations: 479.9 kB / 316.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.152, allocations: 1.062 kB / 316.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007663/0.1528, allocations: 0.5832 MB / 316.7 MB, free: 6.672 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1528, allocations: 8.312 kB / 316.7 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1528, allocations: 3.406 kB / 316.7 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/0.1531, allocations: 95.61 kB / 316.8 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.1533, allocations: 109.6 kB / 317 MB, free: 6.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.1544, allocations: 1.66 MB / 318.6 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.1546, allocations: 55.47 kB / 318.7 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.1546, allocations: 22.77 kB / 318.7 MB, free: 5.125 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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.0001579/0.1548, allocations: 176.5 kB / 318.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.1548, allocations: 32.81 kB / 318.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007208/0.1555, allocations: 0.5505 MB / 319.4 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1555, allocations: 5.594 kB / 319.4 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1555, allocations: 1.609 kB / 319.4 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1555, allocations: 2.625 kB / 319.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.1568, allocations: 1.078 MB / 320.5 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1568, allocations: 1.188 kB / 320.5 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.157, allocations: 86.56 kB / 320.6 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.1571, allocations: 81.22 kB / 320.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.1572, allocations: 12.41 kB / 320.7 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000886/0.1581, allocations: 1.654 MB / 322.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1581, allocations: 4.062 kB / 322.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.1589, allocations: 0.8078 MB / 323.2 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.159, allocations: 36.88 kB / 323.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.159, allocations: 15.12 kB / 323.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.1591, allocations: 30.45 kB / 323.3 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.1592, allocations: 40 kB / 323.3 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.1592, allocations: 16.03 kB / 323.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.807e-05/0.1593, allocations: 151.1 kB / 323.5 MB, free: 1.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1593, allocations: 0 / 323.5 MB, free: 1.957 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005156/0.1598, allocations: 152.6 kB / 323.6 MB, free: 1.918 MB / 282.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 (46): * Single equations (assignments): 45 * 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.001115/0.1609, allocations: 1.391 MB / 325 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007835/0.1617, allocations: 0.5689 MB / 325.6 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1617, allocations: 4.875 kB / 325.6 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.1621, allocations: 367 kB / 325.9 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.1624, allocations: 31.69 kB / 326 MB, free: 440 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.1666, allocations: 3.642 MB / 329.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.1668, allocations: 219.2 kB / 329.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.1669, allocations: 49.11 kB / 329.9 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.1671, allocations: 147.4 kB / 330 MB, free: 13.53 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1671, allocations: 0 / 330 MB, free: 13.53 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.1962, allocations: 8.71 MB / 338.7 MB, free: 5.613 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.208/7.405, allocations: 7.891 kB / 338.7 MB, free: 5.605 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.csv. Warning: Get data of variable resistor.pin_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.082448195666075]