Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.001442/0.001442, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001404/0.001404, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 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.461/1.461, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 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: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.256e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.02072/0.02075, allocations: 14.26 MB / 281.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.03088, allocations: 4.005 MB / 285.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003071/0.03395, allocations: 167.2 kB / 285.8 MB, free: 4.207 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1398/0.1738, allocations: 7.317 MB / 293.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005151/0.1789, allocations: 1.511 MB / 294.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.1817, allocations: 1.098 MB / 295.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008833/0.1906, allocations: 8.578 MB / 304.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01848/0.2091, allocations: 14.26 MB / 318.5 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01154/0.2206, allocations: 7.317 MB / 325.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008579/0.2292, allocations: 4.637 MB / 330.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003178/0.2323, allocations: 1.383 MB / 331.9 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005473/0.2378, allocations: 1.64 MB / 333.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003793/0.2416, allocations: 2.625 MB / 336.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007147/0.2488, allocations: 3.489 MB / 339.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02555/0.2743, allocations: 18.52 MB / 358.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2743, allocations: 0 / 358.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.2743, allocations: 0 / 358.1 MB, free: 12.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004023/0.2747, allocations: 4 kB / 358.1 MB, free: 12.42 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.02954/0.3043, allocations: 10.47 MB / 368.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3043, allocations: 8.031 kB / 368.6 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02242/0.3267, allocations: 4.906 MB / 373.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/0.3396, allocations: 5.658 MB / 379.2 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007964/0.3404, allocations: 0.6851 MB / 379.9 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003158/0.3436, allocations: 0.8896 MB / 380.7 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03483/0.3784, allocations: 12.8 MB / 393.5 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002523/0.3787, allocations: 7.953 kB / 393.5 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002281/0.3809, allocations: 385.1 kB / 393.9 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004733/0.3814, allocations: 399.1 kB / 394.3 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02688/0.4083, allocations: 11.38 MB / 405.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2718/0.6801, allocations: 38.57 MB / 444.3 MB, free: 98.32 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007586/0.6877, allocations: 4.167 MB / 448.4 MB, free: 98.24 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.6894, allocations: 1.537 MB / 450 MB, free: 98.22 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.6896, allocations: 60.69 kB / 450 MB, free: 98.22 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.6897, allocations: 56.22 kB / 450.1 MB, free: 98.18 MB / 378.8 MB Notification: Performance of pre-optimization done (n=223): time 4.118e-06/0.6897, allocations: 0 / 450.1 MB, free: 98.18 MB / 378.8 MB Notification: Performance of matching and sorting (n=223): time 0.007605/0.6973, allocations: 4.669 MB / 454.7 MB, free: 98.07 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.6973, allocations: 72.19 kB / 454.8 MB, free: 98.01 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003415/0.7007, allocations: 3.042 MB / 457.9 MB, free: 97.36 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002196/0.7009, allocations: 61.2 kB / 457.9 MB, free: 97.3 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.7025, allocations: 3.97 MB / 461.9 MB, free: 94.97 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005468/0.703, allocations: 0.8128 MB / 462.7 MB, free: 94.41 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.7041, allocations: 0.946 MB / 463.6 MB, free: 93.93 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.309e-05/0.7041, allocations: 305.1 kB / 463.9 MB, free: 93.63 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.7062, allocations: 1.971 MB / 465.9 MB, free: 92.94 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/0.7095, allocations: 4.164 MB / 470.1 MB, free: 89.37 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006372/0.7158, allocations: 6.505 MB / 476.6 MB, free: 84.29 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.19e-05/0.7159, allocations: 21.78 kB / 476.6 MB, free: 84.29 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008709/0.7246, allocations: 6.735 MB / 483.3 MB, free: 80.8 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.7247, allocations: 36.66 kB / 483.4 MB, free: 80.8 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-05/0.7247, allocations: 80.81 kB / 483.5 MB, free: 80.8 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.726, allocations: 0.4902 MB / 483.9 MB, free: 80.63 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/0.7289, allocations: 1.068 MB / 485 MB, free: 80.37 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003893/0.7328, allocations: 4.214 MB / 489.2 MB, free: 76.21 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/0.7357, allocations: 0.6325 MB / 489.9 MB, free: 75.58 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003795/0.7361, allocations: 248 kB / 490.1 MB, free: 75.34 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.003921/0.74, allocations: 3.365 MB / 493.5 MB, free: 71.96 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006235/0.7406, allocations: 366.1 kB / 493.8 MB, free: 71.6 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004607/0.7452, allocations: 3.579 MB / 497.4 MB, free: 68 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003233/0.7484, allocations: 2.793 MB / 0.4885 GB, free: 65.2 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.7485, allocations: 4 kB / 0.4885 GB, free: 65.2 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.7485, allocations: 11.95 kB / 0.4885 GB, free: 65.18 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.7612, allocations: 7.989 MB / 0.4963 GB, free: 57.19 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.7612, allocations: 4.094 kB / 0.4963 GB, free: 57.19 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.7627, allocations: 423.4 kB / 0.4967 GB, free: 56.77 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.7638, allocations: 401.1 kB / 0.4971 GB, free: 56.38 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.764, allocations: 47.98 kB / 0.4971 GB, free: 56.33 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003743/0.7677, allocations: 4.04 MB / 0.5011 GB, free: 52.19 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7677, allocations: 3.938 kB / 0.5011 GB, free: 52.19 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005862/0.7736, allocations: 5.194 MB / 0.5061 GB, free: 46.96 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.7746, allocations: 0.5599 MB / 0.5067 GB, free: 46.4 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/0.775, allocations: 42.95 kB / 0.5067 GB, free: 46.36 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.7761, allocations: 131.9 kB / 0.5069 GB, free: 46.23 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/0.7764, allocations: 165.6 kB / 0.507 GB, free: 46.07 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.7765, allocations: 63.98 kB / 0.5071 GB, free: 46.01 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002163/0.7786, allocations: 1.939 MB / 0.509 GB, free: 44.06 MB / 378.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7786, allocations: 0 / 0.509 GB, free: 44.06 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004467/0.7831, allocations: 1.992 MB / 0.5109 GB, free: 42.06 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.0004814/0.7836, allocations: 209.5 kB / 0.5111 GB, free: 41.85 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005766/0.7894, allocations: 4.433 MB / 0.5154 GB, free: 37.41 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.7894, allocations: 0 / 0.5154 GB, free: 37.41 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.7913, allocations: 1.616 MB / 0.517 GB, free: 35.79 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/0.7945, allocations: 0.6954 MB / 0.5177 GB, free: 35.15 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/0.814, allocations: 13.72 MB / 0.5311 GB, free: 21.32 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004594/0.8186, allocations: 5.18 MB / 0.5362 GB, free: 16.1 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.003587/0.8222, allocations: 1.69 MB / 0.5378 GB, free: 14.41 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006202/0.8228, allocations: 228.5 kB / 0.538 GB, free: 14.18 MB / 378.8 MB Notification: Performance of SimCode: time 1.052e-06/0.8228, allocations: 0 / 0.538 GB, free: 14.18 MB / 378.8 MB Notification: Performance of Templates: time 0.1933/1.016, allocations: 38.46 MB / 0.5756 GB, free: 111.3 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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: 6.391161793959327]