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.0008193/0.0008193, 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.004196/0.004196, allocations: 165.6 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.8808/0.8808, allocations: 158.6 MB / 186.5 MB, free: 3.031 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 2.094e-06/2.094e-06, allocations: 0 / 298.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.054e-05, allocations: 10.16 kB / 298.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005147/0.005168, allocations: 3.427 MB / 301.9 MB, free: 160 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1157/0.1209, allocations: 1.368 MB / 303.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.1211, allocations: 13.22 kB / 303.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009962/0.1221, allocations: 0.7413 MB / 304 MB, free: 13 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006765/0.1228, allocations: 403 kB / 304.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.1234, allocations: 0.5308 MB / 304.9 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.1238, allocations: 0.4915 MB / 305.4 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004662/0.1242, allocations: 364.7 kB / 305.8 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.1246, allocations: 313.4 kB / 306.1 MB, free: 12.28 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1248, allocations: 216.7 kB / 306.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.859e-05/0.1249, allocations: 43.91 kB / 306.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.1252, allocations: 208.1 kB / 306.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.1253, allocations: 112.1 kB / 306.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1254, allocations: 167.7 kB / 306.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007206/0.1261, allocations: 0.7131 MB / 307.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1261, allocations: 4 kB / 307.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1261, allocations: 0 / 307.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.1261, allocations: 0 / 307.5 MB, free: 11.75 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.001433/0.1276, allocations: 0.8705 MB / 308.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1276, allocations: 13.17 kB / 308.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.1277, allocations: 106.2 kB / 308.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.1298, allocations: 0.5869 MB / 309.1 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.1303, allocations: 267.1 kB / 309.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.1303, allocations: 42.25 kB / 309.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.1304, allocations: 57.31 kB / 309.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006848/0.131, allocations: 0.5804 MB / 310 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1311, allocations: 9.719 kB / 310 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.1311, allocations: 21.62 kB / 310.1 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1311, allocations: 13.09 kB / 310.1 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007527/0.1319, allocations: 0.634 MB / 310.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.1337, allocations: 1.661 MB / 312.4 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009858/0.1347, allocations: 0.6305 MB / 313 MB, free: 8.977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.1349, allocations: 191.8 kB / 313.2 MB, free: 8.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.135, allocations: 16.73 kB / 313.2 MB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.135, allocations: 42.55 kB / 313.2 MB, free: 8.852 MB / 282.7 MB Notification: Performance of pre-optimization done (n=49): time 2.325e-06/0.135, allocations: 0 / 313.2 MB, free: 8.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=49): time 0.001203/0.1362, allocations: 0.7204 MB / 314 MB, free: 8.582 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.1362, allocations: 58.2 kB / 314 MB, free: 8.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1364, allocations: 207.5 kB / 314.2 MB, free: 8.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1364, allocations: 35.98 kB / 314.3 MB, free: 8.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.1365, allocations: 246.7 kB / 314.5 MB, free: 8.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.1365, allocations: 174.5 kB / 314.7 MB, free: 7.996 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1366, allocations: 98.69 kB / 314.8 MB, free: 7.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.1367, allocations: 337.2 kB / 315.1 MB, free: 7.613 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.1369, allocations: 160.1 kB / 315.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.1371, allocations: 279.8 kB / 315.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/0.1376, allocations: 470 kB / 316 MB, free: 7.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1376, allocations: 3.938 kB / 316 MB, free: 7.066 MB / 282.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006838/0.1383, allocations: 0.5751 MB / 316.6 MB, free: 6.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1383, allocations: 7.297 kB / 316.6 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1383, allocations: 7.062 kB / 316.6 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002541/0.1385, allocations: 99.69 kB / 316.7 MB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.1388, allocations: 102.9 kB / 316.8 MB, free: 6.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.14, allocations: 1.927 MB / 318.7 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.1402, allocations: 51.52 kB / 318.7 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.1402, allocations: 21.03 kB / 318.8 MB, free: 5.059 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.0001498/0.1404, allocations: 172.4 kB / 318.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.1404, allocations: 28.69 kB / 319 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007388/0.1411, allocations: 0.5519 MB / 319.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1412, allocations: 8.844 kB / 319.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.1412, allocations: 2.906 kB / 319.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.1412, allocations: 6.562 kB / 319.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.1423, allocations: 1.048 MB / 320.6 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1423, allocations: 0.875 kB / 320.6 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.1425, allocations: 78.89 kB / 320.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001784/0.1427, allocations: 92.11 kB / 320.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.1427, allocations: 11.77 kB / 320.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.1438, allocations: 1.922 MB / 322.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1438, allocations: 0 / 322.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000836/0.1446, allocations: 0.8037 MB / 323.5 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.1447, allocations: 32.19 kB / 323.5 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1447, allocations: 13.89 kB / 323.5 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1448, allocations: 28.42 kB / 323.6 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.1449, allocations: 34.62 kB / 323.6 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.1449, allocations: 13.62 kB / 323.6 MB, free: 1.828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.022e-05/0.145, allocations: 157.2 kB / 323.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.145, allocations: 0 / 323.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000489/0.1455, allocations: 152.5 kB / 323.9 MB, free: 1.684 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.001075/0.1465, allocations: 1.376 MB / 325.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007426/0.1473, allocations: 0.5587 MB / 325.8 MB, free: 460 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1473, allocations: 6.375 kB / 325.8 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.1476, allocations: 364 kB / 326.2 MB, free: 240 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.1479, allocations: 31.86 kB / 326.2 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.1518, allocations: 3.604 MB / 329.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.152, allocations: 214.6 kB / 330 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000164/0.1522, allocations: 47.58 kB / 330.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.1523, allocations: 148 kB / 330.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of SimCode: time 1.984e-06/0.1523, allocations: 4 kB / 330.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.1796, allocations: 8.714 MB / 339 MB, free: 5.461 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.473, allocations: 12.02 kB / 339 MB, free: 5.449 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.055495001375675]