Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.000906/0.000906, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004318/0.004318, allocations: 166.2 kB / 24.7 MB, free: 8.887 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.8442/0.8442, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.402e-05, allocations: 2.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004889/0.004913, allocations: 3.427 MB / 301.9 MB, free: 64 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1334/0.1383, allocations: 1.368 MB / 303.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.1385, allocations: 9.656 kB / 303.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1396, allocations: 0.7466 MB / 304 MB, free: 13 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006923/0.1403, allocations: 398.6 kB / 304.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.1409, allocations: 0.5233 MB / 304.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004314/0.1413, allocations: 0.4969 MB / 305.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.1418, allocations: 365.8 kB / 305.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.1422, allocations: 311.6 kB / 306.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.1424, allocations: 221.4 kB / 306.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.1424, allocations: 42.94 kB / 306.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.1428, allocations: 205.9 kB / 306.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.1428, allocations: 112.4 kB / 306.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1429, allocations: 168.2 kB / 306.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.1436, allocations: 0.7273 MB / 307.5 MB, free: 11.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1436, allocations: 6.203 kB / 307.5 MB, free: 11.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1436, allocations: 0 / 307.5 MB, free: 11.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1436, allocations: 0 / 307.5 MB, free: 11.68 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.001292/0.1449, allocations: 0.8493 MB / 308.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1449, allocations: 15.14 kB / 308.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.145, allocations: 104.7 kB / 308.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/0.1471, allocations: 0.5918 MB / 309.1 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.1475, allocations: 263.2 kB / 309.3 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.1475, allocations: 44.53 kB / 309.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.17e-05/0.1476, allocations: 54.97 kB / 309.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006799/0.1483, allocations: 0.5804 MB / 310 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1483, allocations: 5.969 kB / 310 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.1483, allocations: 29.62 kB / 310.1 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1483, allocations: 13.12 kB / 310.1 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007486/0.1491, allocations: 0.6257 MB / 310.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.151, allocations: 1.667 MB / 312.4 MB, free: 9.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.1521, allocations: 0.6247 MB / 313 MB, free: 8.934 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.1523, allocations: 200.2 kB / 313.2 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/0.1524, allocations: 11.62 kB / 313.2 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.1524, allocations: 43.81 kB / 313.2 MB, free: 8.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 1.713e-06/0.1524, allocations: 0 / 313.2 MB, free: 8.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=49): time 0.00123/0.1536, allocations: 0.7263 MB / 314 MB, free: 8.531 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1537, allocations: 58.06 kB / 314 MB, free: 8.469 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1538, allocations: 207.8 kB / 314.2 MB, free: 8.328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1538, allocations: 31.08 kB / 314.3 MB, free: 8.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1539, allocations: 251.9 kB / 314.5 MB, free: 8.086 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/0.154, allocations: 179.2 kB / 314.7 MB, free: 7.941 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.1541, allocations: 97.11 kB / 314.8 MB, free: 7.883 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.1542, allocations: 337.9 kB / 315.1 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.1544, allocations: 159.5 kB / 315.3 MB, free: 7.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.1547, allocations: 280.9 kB / 315.5 MB, free: 7.312 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.1552, allocations: 464.2 kB / 316 MB, free: 7.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.1552, allocations: 1.344 kB / 316 MB, free: 7.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001261/0.1564, allocations: 0.5837 MB / 316.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.1565, allocations: 6.406 kB / 316.6 MB, free: 6.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.1565, allocations: 6.969 kB / 316.6 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002901/0.1568, allocations: 90.64 kB / 316.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.157, allocations: 108.6 kB / 316.8 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.1584, allocations: 1.916 MB / 318.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.1587, allocations: 54 kB / 318.7 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.1588, allocations: 25.14 kB / 318.8 MB, free: 5.008 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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.0001846/0.1589, allocations: 172.7 kB / 318.9 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.159, allocations: 29.83 kB / 319 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007889/0.1598, allocations: 0.5488 MB / 319.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1598, allocations: 9.812 kB / 319.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1598, allocations: 5.141 kB / 319.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1598, allocations: 2.625 kB / 319.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.1611, allocations: 1.052 MB / 320.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.1611, allocations: 0.875 kB / 320.6 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.1613, allocations: 79.84 kB / 320.7 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.1615, allocations: 95.69 kB / 320.8 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.1615, allocations: 11.12 kB / 320.8 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.1628, allocations: 1.912 MB / 322.7 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1628, allocations: 4.062 kB / 322.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/0.1636, allocations: 0.8021 MB / 323.5 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.1637, allocations: 37.03 kB / 323.5 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.1637, allocations: 6.344 kB / 323.5 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1639, allocations: 20.55 kB / 323.5 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.164, allocations: 40.28 kB / 323.6 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.164, allocations: 13.38 kB / 323.6 MB, free: 1.781 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.724e-05/0.1641, allocations: 150.5 kB / 323.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1641, allocations: 0 / 323.7 MB, free: 1.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000627/0.1647, allocations: 159.4 kB / 323.9 MB, free: 1.637 MB / 282.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 (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,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.001102/0.1658, allocations: 1.378 MB / 325.3 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008449/0.1666, allocations: 0.5634 MB / 325.8 MB, free: 408 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1666, allocations: 1.062 kB / 325.8 MB, free: 408 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.167, allocations: 363.3 kB / 326.2 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1673, allocations: 34.94 kB / 326.2 MB, free: 172 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.1712, allocations: 3.602 MB / 329.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.1714, allocations: 214.5 kB / 330 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.1716, allocations: 52.97 kB / 330.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.1717, allocations: 150.3 kB / 330.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of SimCode: time 1.844e-06/0.1717, allocations: 0 / 330.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.1973, allocations: 8.715 MB / 339 MB, free: 5.414 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.577, allocations: 3.953 kB / 339 MB, free: 5.41 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv. Warning: Get data of variable inductor.pin_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.239555511623621]