Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009783/0.0009783, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009629/0.0009629, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9914/0.9914, allocations: 177 MB / 205.2 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.284e-05, allocations: 2.312 kB / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01218/0.0122, allocations: 15.83 MB / 288.8 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1114/0.1236, allocations: 4.102 MB / 292.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.1252, allocations: 161.6 kB / 293.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007372/0.1326, allocations: 7.951 MB / 301 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.1354, allocations: 1.375 MB / 302.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.1372, allocations: 1.231 MB / 303.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005404/0.1426, allocations: 8.584 MB / 312.2 MB, free: 7.418 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0145/0.1571, allocations: 14.28 MB / 326.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006981/0.1641, allocations: 7.384 MB / 333.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004676/0.1687, allocations: 5.224 MB / 339.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.1701, allocations: 1.383 MB / 340.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.1719, allocations: 1.66 MB / 342.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001487/0.1734, allocations: 2.676 MB / 344.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002605/0.176, allocations: 3.535 MB / 348.4 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006661/0.1827, allocations: 8.878 MB / 357.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1827, allocations: 0 / 357.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1827, allocations: 4 kB / 357.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.042e-05/0.1828, allocations: 0 / 357.2 MB, free: 13.89 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.01371/0.1965, allocations: 11.42 MB / 368.7 MB, free: 2.391 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1965, allocations: 15.98 kB / 368.7 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.208, allocations: 4.842 MB / 373.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00504/0.213, allocations: 5.064 MB / 378.6 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003189/0.2133, allocations: 0.6794 MB / 379.3 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009545/0.2143, allocations: 0.8906 MB / 380.2 MB, free: 6.828 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008421/0.2227, allocations: 5.575 MB / 385.7 MB, free: 1.207 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.2228, allocations: 3.953 kB / 385.7 MB, free: 1.203 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005718/0.2234, allocations: 379.9 kB / 386.1 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002447/0.2237, allocations: 407.1 kB / 386.5 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006642/0.2303, allocations: 3.45 MB / 390 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03282/0.2631, allocations: 35.74 MB / 425.7 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/0.2674, allocations: 3.365 MB / 429.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009996/0.2684, allocations: 0.6705 MB / 429.7 MB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.2685, allocations: 81.94 kB / 429.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.2685, allocations: 59.39 kB / 429.9 MB, free: 4.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=223): time 4.649e-06/0.2685, allocations: 0 / 429.9 MB, free: 4.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.004139/0.2727, allocations: 2.449 MB / 432.3 MB, free: 1.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.2727, allocations: 73.41 kB / 432.4 MB, free: 1.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1891/0.4618, allocations: 3.034 MB / 435.4 MB, free: 110.5 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003337/0.4621, allocations: 61.08 kB / 435.5 MB, free: 110.5 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001813/0.4639, allocations: 4.219 MB / 439.7 MB, free: 109 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005138/0.4645, allocations: 0.8576 MB / 440.6 MB, free: 108.6 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/0.4655, allocations: 1.112 MB / 441.7 MB, free: 108.4 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.4655, allocations: 482.2 kB / 442.1 MB, free: 108 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.4665, allocations: 0.6157 MB / 442.8 MB, free: 108 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.4685, allocations: 3.937 MB / 446.7 MB, free: 103.9 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.4715, allocations: 4.991 MB / 451.7 MB, free: 99.51 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-05/0.4716, allocations: 22 kB / 451.7 MB, free: 99.51 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.004656/0.4762, allocations: 3.969 MB / 455.7 MB, free: 98.72 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.4763, allocations: 42.56 kB / 455.7 MB, free: 98.72 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.341e-05/0.4763, allocations: 75.91 kB / 455.8 MB, free: 98.72 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007055/0.477, allocations: 381.4 kB / 456.2 MB, free: 98.7 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.4787, allocations: 1.066 MB / 457.2 MB, free: 98.61 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.4809, allocations: 3.482 MB / 460.7 MB, free: 96.52 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.4824, allocations: 0.6307 MB / 461.3 MB, free: 96.21 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.4826, allocations: 251.3 kB / 461.6 MB, free: 96.21 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.001293/0.4839, allocations: 495.5 kB / 462.1 MB, free: 95.92 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/0.4843, allocations: 358.5 kB / 462.4 MB, free: 95.77 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.4865, allocations: 2.032 MB / 464.5 MB, free: 95.55 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00148/0.488, allocations: 1.303 MB / 465.8 MB, free: 95.44 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.488, allocations: 3.375 kB / 465.8 MB, free: 95.44 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.488, allocations: 14.67 kB / 465.8 MB, free: 95.44 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/0.4957, allocations: 7.848 MB / 473.6 MB, free: 92.19 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.4957, allocations: 7.594 kB / 473.6 MB, free: 92.19 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007819/0.4965, allocations: 414.3 kB / 474 MB, free: 91.88 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006158/0.4971, allocations: 288.4 kB / 474.3 MB, free: 91.65 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.702e-05/0.4972, allocations: 47.75 kB / 474.4 MB, free: 91.61 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.4992, allocations: 3.317 MB / 477.7 MB, free: 88.39 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4992, allocations: 4 kB / 477.7 MB, free: 88.38 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.5018, allocations: 2.45 MB / 480.1 MB, free: 86.1 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005273/0.5024, allocations: 0.5074 MB / 480.6 MB, free: 85.65 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.5025, allocations: 40 kB / 480.7 MB, free: 85.61 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.5031, allocations: 131 kB / 480.8 MB, free: 85.52 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.5033, allocations: 156.3 kB / 481 MB, free: 85.45 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.292e-05/0.5033, allocations: 71.92 kB / 481 MB, free: 85.38 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001061/0.5044, allocations: 1.25 MB / 482.3 MB, free: 84.31 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5044, allocations: 1.969 kB / 482.3 MB, free: 84.31 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.002978/0.5074, allocations: 1.992 MB / 484.3 MB, free: 82.32 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.0002819/0.5077, allocations: 202.3 kB / 484.5 MB, free: 82.12 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.002997/0.5107, allocations: 2.84 MB / 487.3 MB, free: 79.57 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5107, allocations: 0 / 487.3 MB, free: 79.57 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009264/0.5116, allocations: 1.106 MB / 488.4 MB, free: 78.58 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.5131, allocations: 0.6955 MB / 489.1 MB, free: 78.05 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.5233, allocations: 11.41 MB / 0.4888 GB, free: 67.45 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.5245, allocations: 2.283 MB / 0.491 GB, free: 65.13 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001835/0.5263, allocations: 1.463 MB / 0.4924 GB, free: 63.66 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.5267, allocations: 240.5 kB / 0.4927 GB, free: 63.43 MB / 378.8 MB Notification: Performance of SimCode: time 1.433e-06/0.5267, allocations: 4 kB / 0.4927 GB, free: 63.42 MB / 378.8 MB Notification: Performance of Templates: time 0.04144/0.5681, allocations: 38.57 MB / 0.5303 GB, free: 25.28 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.887550482992083]