Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.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.00152/0.00152, allocations: 91.5 kB / 21.19 MB, free: 3.379 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.001591/0.001591, allocations: 156.5 kB / 24.55 MB, free: 24 kB / 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.9811/0.9811, allocations: 177 MB / 204.8 MB, free: 5.238 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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.507e-06/3.507e-06, allocations: 4 kB / 272.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.292e-05, allocations: 2.312 kB / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007351/0.007374, allocations: 5.855 MB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003539/0.01091, allocations: 1.693 MB / 280.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005396/0.01145, allocations: 63.62 kB / 280.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006055/0.01206, allocations: 325.4 kB / 280.8 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.01318, allocations: 401 kB / 281.2 MB, free: 8.934 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007107/0.01389, allocations: 359.5 kB / 281.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.0159, allocations: 2.09 MB / 283.7 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.01802, allocations: 1.556 MB / 285.2 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.01996, allocations: 1.63 MB / 286.9 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.02165, allocations: 1.169 MB / 288 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004632/0.02211, allocations: 308 kB / 288.3 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000758/0.02287, allocations: 455.6 kB / 288.8 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00064/0.02351, allocations: 0.7753 MB / 289.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1414/0.1649, allocations: 0.8816 MB / 290.4 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002953/0.1678, allocations: 2.103 MB / 292.5 MB, free: 18.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1678, allocations: 0 / 292.5 MB, free: 18.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1678, allocations: 0 / 292.5 MB, free: 18.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.398e-05/0.1679, allocations: 1.219 kB / 292.5 MB, free: 18.04 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.003855/0.1718, allocations: 2.623 MB / 295.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1718, allocations: 16.88 kB / 295.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008461/0.1727, allocations: 470.8 kB / 295.6 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.1742, allocations: 1.19 MB / 296.8 MB, free: 16.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.96e-05/0.1743, allocations: 168.5 kB / 297 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/0.1746, allocations: 220 kB / 297.2 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.177, allocations: 1.36 MB / 298.6 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.1771, allocations: 7 kB / 298.6 MB, free: 16.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.1772, allocations: 95.03 kB / 298.7 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.447e-05/0.1773, allocations: 86.91 kB / 298.7 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.1788, allocations: 0.6907 MB / 299.4 MB, free: 16.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006697/0.1854, allocations: 6.147 MB / 305.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.1859, allocations: 438.4 kB / 306 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/0.1863, allocations: 357.6 kB / 306.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.1864, allocations: 16.44 kB / 306.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1864, allocations: 45.59 kB / 306.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 1.934e-06/0.1864, allocations: 1.375 kB / 306.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001794/0.1882, allocations: 1.439 MB / 307.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.1882, allocations: 63.47 kB / 307.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005129/0.1887, allocations: 0.7138 MB / 308.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.1888, allocations: 37.2 kB / 308.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.1891, allocations: 1.015 MB / 309.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.1892, allocations: 235.1 kB / 309.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.1893, allocations: 162.5 kB / 310.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1895, allocations: 0.586 MB / 310.7 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.1896, allocations: 110.6 kB / 310.8 MB, free: 9.586 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.1899, allocations: 449.6 kB / 311.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.1904, allocations: 0.6129 MB / 311.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1904, allocations: 2.094 kB / 311.8 MB, free: 8.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007793/0.1912, allocations: 0.6723 MB / 312.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.1912, allocations: 6.875 kB / 312.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.1913, allocations: 10.12 kB / 312.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/0.1915, allocations: 78.77 kB / 312.6 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.1918, allocations: 172.8 kB / 312.8 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.1929, allocations: 2.329 MB / 315.1 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.1931, allocations: 40.05 kB / 315.1 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/0.1931, allocations: 35.98 kB / 315.2 MB, free: 5.812 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002392/0.1934, allocations: 203.6 kB / 315.4 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.1935, allocations: 107.4 kB / 315.5 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.1936, allocations: 91.47 kB / 315.6 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.1936, allocations: 11.98 kB / 315.6 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.1936, allocations: 0 / 315.6 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1936, allocations: 6.781 kB / 315.6 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.1955, allocations: 1.96 MB / 317.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1955, allocations: 0 / 317.5 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.1958, allocations: 111.4 kB / 317.6 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001532/0.1959, allocations: 67.8 kB / 317.7 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.196, allocations: 15.98 kB / 317.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008415/0.1968, allocations: 2.308 MB / 320 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.1968, allocations: 0 / 320 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/0.1976, allocations: 0.8128 MB / 320.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.1978, allocations: 143.4 kB / 321 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.1978, allocations: 15.98 kB / 321 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.198, allocations: 42.61 kB / 321 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.1981, allocations: 49.62 kB / 321.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.1982, allocations: 24.05 kB / 321.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003677/0.1985, allocations: 439 kB / 321.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1985, allocations: 0 / 321.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006685/0.1992, allocations: 303.9 kB / 321.8 MB, free: 14.97 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002102/0.1994, allocations: 135.8 kB / 322 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000797/0.2002, allocations: 0.6514 MB / 322.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2002, allocations: 4 kB / 322.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.2006, allocations: 424.5 kB / 323 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.2013, allocations: 204.5 kB / 323.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.2048, allocations: 2.92 MB / 326.2 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.2052, allocations: 0.5202 MB / 326.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003098/0.2055, allocations: 166.9 kB / 326.8 MB, free: 9.883 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.2056, allocations: 56.5 kB / 326.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2056, allocations: 3.375 kB / 326.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of Templates: time 0.01626/0.2219, allocations: 12.21 MB / 339.1 MB, free: 13.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/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.275596162304282]