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.0007628/0.0007628, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008779/0.0008779, allocations: 141.2 kB / 24.89 MB, free: 8.793 MB / 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 0.9058/0.9058, allocations: 173.3 MB / 201.5 MB, free: 9.16 MB / 186.7 MB " [Timeout remaining time 179] 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 1.212e-06/1.212e-06, allocations: 0 / 268.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.244e-05, allocations: 2.312 kB / 268.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01087/0.01088, allocations: 15.36 MB / 283.9 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007423/0.0183, allocations: 4.322 MB / 288.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.01962, allocations: 159.2 kB / 288.4 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1209/0.1405, allocations: 7.878 MB / 296.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.1457, allocations: 1.518 MB / 297.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.1478, allocations: 1.105 MB / 298.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006803/0.1546, allocations: 8.583 MB / 307.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01482/0.1694, allocations: 14.69 MB / 322.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008291/0.1777, allocations: 7.441 MB / 329.6 MB, free: 9.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006117/0.1838, allocations: 5.359 MB / 334.9 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002227/0.186, allocations: 1.383 MB / 336.3 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.1882, allocations: 1.648 MB / 338 MB, free: 1.473 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.1897, allocations: 2.672 MB / 340.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002848/0.1926, allocations: 3.527 MB / 344.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007383/0.2, allocations: 8.846 MB / 353 MB, free: 3.246 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2, allocations: 0 / 353 MB, free: 3.246 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2, allocations: 0 / 353 MB, free: 3.246 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001116/0.2001, allocations: 0 / 353 MB, free: 3.246 MB / 298.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.01452/0.2146, allocations: 10.35 MB / 363.4 MB, free: 9.379 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2147, allocations: 8.031 kB / 363.4 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.2247, allocations: 3.776 MB / 367.1 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003838/0.2285, allocations: 2.632 MB / 369.8 MB, free: 3.254 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003346/0.2289, allocations: 0.6774 MB / 370.4 MB, free: 2.578 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008725/0.2298, allocations: 0.8919 MB / 371.3 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007613/0.2374, allocations: 6.079 MB / 377.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.2375, allocations: 7.984 kB / 377.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000611/0.2381, allocations: 370.8 kB / 377.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002803/0.2384, allocations: 399.1 kB / 378.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004555/0.2429, allocations: 2.353 MB / 380.5 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02627/0.2692, allocations: 26.9 MB / 407.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003628/0.2728, allocations: 2.414 MB / 409.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005976/0.2734, allocations: 495.9 kB / 410.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.2736, allocations: 69.95 kB / 410.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.2736, allocations: 56.56 kB / 410.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=223): time 6.583e-06/0.2736, allocations: 7.984 kB / 410.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.003252/0.2769, allocations: 1.717 MB / 412.2 MB, free: 8.609 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.2769, allocations: 77.41 kB / 412.3 MB, free: 8.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.2785, allocations: 1.965 MB / 414.2 MB, free: 6.531 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.2786, allocations: 61.7 kB / 414.3 MB, free: 6.465 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001811/0.2804, allocations: 3.767 MB / 418 MB, free: 2.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004747/0.2809, allocations: 0.8213 MB / 418.9 MB, free: 1.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008534/0.2817, allocations: 0.8703 MB / 419.7 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.2818, allocations: 305.1 kB / 420 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000818/0.2826, allocations: 0.6441 MB / 420.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.2845, allocations: 2.621 MB / 423.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.2872, allocations: 3.646 MB / 426.9 MB, free: 7.945 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.336e-05/0.2872, allocations: 20 kB / 427 MB, free: 7.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.003625/0.2909, allocations: 2.976 MB / 429.9 MB, free: 5.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.2909, allocations: 36 kB / 430 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-05/0.291, allocations: 76 kB / 430.1 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/0.2916, allocations: 349.5 kB / 430.4 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.2935, allocations: 1.026 MB / 431.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.2957, allocations: 2.526 MB / 433.9 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.2972, allocations: 0.5429 MB / 434.5 MB, free: 412 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002285/0.2975, allocations: 204 kB / 434.7 MB, free: 208 kB / 378.7 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.216/0.5135, allocations: 442.4 kB / 435.1 MB, free: 95.9 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004824/0.514, allocations: 230.5 kB / 435.3 MB, free: 95.9 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.5162, allocations: 1.557 MB / 436.9 MB, free: 95.77 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001051/0.5172, allocations: 0.8265 MB / 437.7 MB, free: 95.69 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5172, allocations: 4.312 kB / 437.7 MB, free: 95.69 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.5173, allocations: 11.77 kB / 437.7 MB, free: 95.69 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006249/0.5235, allocations: 5.541 MB / 443.3 MB, free: 95.2 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.5235, allocations: 2.75 kB / 443.3 MB, free: 95.2 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00077/0.5243, allocations: 366 kB / 443.6 MB, free: 95.2 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/0.5247, allocations: 254.6 kB / 443.9 MB, free: 95.2 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/0.5248, allocations: 39.06 kB / 443.9 MB, free: 95.2 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.5263, allocations: 2.354 MB / 446.3 MB, free: 93.91 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5263, allocations: 2.906 kB / 446.3 MB, free: 93.91 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.5279, allocations: 1.723 MB / 448 MB, free: 93.61 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/0.5283, allocations: 350.6 kB / 448.4 MB, free: 93.6 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.5285, allocations: 45.36 kB / 448.4 MB, free: 93.6 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.5289, allocations: 53.66 kB / 448.5 MB, free: 93.6 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.529, allocations: 152.5 kB / 448.6 MB, free: 93.6 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.921e-05/0.5291, allocations: 42.75 kB / 448.6 MB, free: 93.6 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0005903/0.5297, allocations: 0.8379 MB / 449.5 MB, free: 93.51 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5297, allocations: 0 / 449.5 MB, free: 93.51 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.002876/0.5326, allocations: 1.992 MB / 451.5 MB, free: 93.38 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.0002546/0.5328, allocations: 210.8 kB / 451.7 MB, free: 93.31 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.5347, allocations: 2.195 MB / 453.9 MB, free: 93.03 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 9.205e-05/0.5348, allocations: 59.69 kB / 453.9 MB, free: 93.02 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006818/0.5355, allocations: 0.8542 MB / 454.8 MB, free: 92.85 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.5368, allocations: 0.6828 MB / 455.5 MB, free: 92.8 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00934/0.5461, allocations: 11.43 MB / 466.9 MB, free: 88.49 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/0.5474, allocations: 1.58 MB / 468.5 MB, free: 88.25 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0009321/0.5483, allocations: 491.6 kB / 469 MB, free: 88.1 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.5493, allocations: 0.6299 MB / 469.6 MB, free: 87.75 MB / 378.8 MB Notification: Performance of SimCode: time 9.02e-07/0.5493, allocations: 0 / 469.6 MB, free: 87.75 MB / 378.8 MB Notification: Performance of Templates: time 0.04994/0.5992, allocations: 42.19 MB / 0.4998 GB, free: 48.76 MB / 378.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] 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","",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.733009349089116]