Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.001352/0.001352, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001543/0.001543, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9866/0.9866, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.223e-05, allocations: 6.312 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01786/0.01788, allocations: 15.92 MB / 288.9 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1156/0.1335, allocations: 4.109 MB / 293 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.135, allocations: 162.1 kB / 293.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007106/0.1421, allocations: 7.979 MB / 301.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.1448, allocations: 1.379 MB / 302.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.1465, allocations: 1.239 MB / 303.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005196/0.1517, allocations: 8.577 MB / 312.4 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01285/0.1646, allocations: 14.27 MB / 326.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006379/0.1709, allocations: 7.405 MB / 334 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004762/0.1757, allocations: 5.245 MB / 339.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002698/0.1784, allocations: 1.379 MB / 340.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.1806, allocations: 1.671 MB / 342.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00138/0.182, allocations: 2.664 MB / 345 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008982/0.1909, allocations: 3.532 MB / 348.5 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01472/0.2057, allocations: 8.866 MB / 357.4 MB, free: 13.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.2057, allocations: 4 kB / 357.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2057, allocations: 0 / 357.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003729/0.206, allocations: 0 / 357.4 MB, free: 13.71 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02037/0.2264, allocations: 11.41 MB / 368.8 MB, free: 2.223 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2265, allocations: 11.97 kB / 368.8 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.2365, allocations: 4.846 MB / 373.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006192/0.2427, allocations: 4.968 MB / 378.6 MB, free: 8.328 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003465/0.243, allocations: 0.6794 MB / 379.3 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.2442, allocations: 0.8906 MB / 380.2 MB, free: 6.758 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.2545, allocations: 5.575 MB / 385.8 MB, free: 1.137 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/0.2546, allocations: 15.88 kB / 385.8 MB, free: 1.121 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005404/0.2552, allocations: 380 kB / 386.2 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002509/0.2554, allocations: 395.1 kB / 386.5 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007086/0.2625, allocations: 3.446 MB / 390 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03558/0.2981, allocations: 35.74 MB / 425.7 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004249/0.3024, allocations: 3.372 MB / 429.1 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008589/0.3032, allocations: 0.6705 MB / 429.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.3034, allocations: 81.94 kB / 429.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.3034, allocations: 63.38 kB / 429.9 MB, free: 4.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=223): time 5.531e-06/0.3034, allocations: 4 kB / 429.9 MB, free: 4.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.004073/0.3075, allocations: 2.449 MB / 432.4 MB, free: 1.617 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.3075, allocations: 81.39 kB / 432.4 MB, free: 1.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2205/0.528, allocations: 3.017 MB / 435.5 MB, free: 91.35 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003629/0.5283, allocations: 61.05 kB / 435.5 MB, free: 91.32 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002214/0.5306, allocations: 4.226 MB / 439.7 MB, free: 89.86 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008027/0.5314, allocations: 0.8465 MB / 440.6 MB, free: 89.45 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.5325, allocations: 1.12 MB / 441.7 MB, free: 89.34 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.5325, allocations: 483.7 kB / 442.2 MB, free: 88.87 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.5336, allocations: 0.6193 MB / 442.8 MB, free: 88.85 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.5355, allocations: 3.931 MB / 446.7 MB, free: 84.79 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/0.539, allocations: 4.993 MB / 451.7 MB, free: 80.7 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.736e-05/0.539, allocations: 21.41 kB / 451.8 MB, free: 80.7 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.00487/0.5439, allocations: 3.976 MB / 455.7 MB, free: 80.39 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.544, allocations: 42.66 kB / 455.8 MB, free: 80.38 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.141e-05/0.544, allocations: 75.88 kB / 455.8 MB, free: 80.38 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007241/0.5447, allocations: 379.9 kB / 456.2 MB, free: 80.36 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.5464, allocations: 1.067 MB / 457.3 MB, free: 80.36 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.5486, allocations: 3.477 MB / 460.8 MB, free: 78.34 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.5506, allocations: 0.6329 MB / 461.4 MB, free: 78.13 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/0.5509, allocations: 250.1 kB / 461.6 MB, free: 78.13 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001551/0.5524, allocations: 494.2 kB / 462.1 MB, free: 77.92 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003972/0.5528, allocations: 353.9 kB / 462.5 MB, free: 77.77 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.5551, allocations: 2.033 MB / 464.5 MB, free: 77.57 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001536/0.5566, allocations: 1.312 MB / 465.8 MB, free: 77.46 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5566, allocations: 3.75 kB / 465.8 MB, free: 77.46 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.5567, allocations: 15.05 kB / 465.8 MB, free: 77.46 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008843/0.5655, allocations: 7.843 MB / 473.7 MB, free: 76.19 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.5655, allocations: 0 / 473.7 MB, free: 76.19 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000823/0.5663, allocations: 422.2 kB / 474.1 MB, free: 76.18 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005657/0.5669, allocations: 291.7 kB / 474.4 MB, free: 76.12 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.46e-05/0.567, allocations: 46.55 kB / 474.4 MB, free: 76.09 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.569, allocations: 3.313 MB / 477.7 MB, free: 73.5 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.569, allocations: 3.656 kB / 477.7 MB, free: 73.5 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.5719, allocations: 2.458 MB / 480.2 MB, free: 72.56 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006973/0.5726, allocations: 0.5053 MB / 480.7 MB, free: 72.27 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.5727, allocations: 37.28 kB / 480.7 MB, free: 72.24 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.5733, allocations: 132.8 kB / 480.9 MB, free: 72.21 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.5735, allocations: 154.3 kB / 481 MB, free: 72.19 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.5736, allocations: 70.92 kB / 481.1 MB, free: 72.17 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001264/0.5748, allocations: 1.254 MB / 482.3 MB, free: 71.44 MB / 378.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5748, allocations: 0 / 482.3 MB, free: 71.44 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003643/0.5785, allocations: 1.988 MB / 484.3 MB, free: 69.45 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003702/0.5788, allocations: 213.4 kB / 484.5 MB, free: 69.26 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003361/0.5822, allocations: 2.838 MB / 487.4 MB, free: 66.93 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5822, allocations: 4 kB / 487.4 MB, free: 66.93 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009474/0.5832, allocations: 1.101 MB / 488.5 MB, free: 65.98 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.5848, allocations: 0.6924 MB / 489.2 MB, free: 65.45 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.5976, allocations: 11.39 MB / 0.4888 GB, free: 54.93 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.5989, allocations: 2.291 MB / 0.4911 GB, free: 52.92 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001959/0.6008, allocations: 1.461 MB / 0.4925 GB, free: 51.46 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.6012, allocations: 240.5 kB / 0.4927 GB, free: 51.23 MB / 378.8 MB Notification: Performance of SimCode: time 1.723e-06/0.6012, allocations: 3.188 kB / 0.4927 GB, free: 51.23 MB / 378.8 MB Notification: Performance of Templates: time 0.04682/0.648, allocations: 40.73 MB / 0.5325 GB, free: 11.11 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.967168535105884]