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.001028/0.001028, 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.001145/0.001145, 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 1.082/1.082, allocations: 177 MB / 205.2 MB, free: 5.543 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 1.983e-06/1.983e-06, allocations: 0 / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.051e-05, allocations: 2.312 kB / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007998/0.008028, allocations: 5.832 MB / 278.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003983/0.01201, allocations: 1.678 MB / 280.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009477/0.01296, allocations: 67.62 kB / 280.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008865/0.01385, allocations: 325.3 kB / 280.9 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.0154, allocations: 401 kB / 281.3 MB, free: 9.391 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009018/0.0163, allocations: 363.4 kB / 281.6 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002448/0.01875, allocations: 2.082 MB / 283.7 MB, free: 6.945 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002593/0.02134, allocations: 1.56 MB / 285.3 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.02345, allocations: 1.626 MB / 286.9 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.02536, allocations: 1.169 MB / 288.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006215/0.02598, allocations: 312 kB / 288.4 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007017/0.02668, allocations: 451.6 kB / 288.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005724/0.02725, allocations: 0.7753 MB / 289.6 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008206/0.02807, allocations: 0.8926 MB / 290.5 MB, free: 104 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1296/0.1577, allocations: 2.099 MB / 292.6 MB, free: 18.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1577, allocations: 0 / 292.6 MB, free: 18.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1577, allocations: 1.891 kB / 292.6 MB, free: 18.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001325/0.1578, allocations: 0 / 292.6 MB, free: 18.56 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.00485/0.1627, allocations: 2.622 MB / 295.2 MB, free: 17.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1627, allocations: 13.73 kB / 295.2 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009109/0.1636, allocations: 465.9 kB / 295.7 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.1653, allocations: 1.194 MB / 296.9 MB, free: 17.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.1654, allocations: 168.7 kB / 297 MB, free: 17.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/0.1656, allocations: 222.2 kB / 297.2 MB, free: 17.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.1682, allocations: 1.364 MB / 298.6 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/0.1682, allocations: 0 / 298.6 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.1684, allocations: 96.7 kB / 298.7 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.863e-05/0.1685, allocations: 83.25 kB / 298.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.1701, allocations: 0.6942 MB / 299.5 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00742/0.1775, allocations: 6.146 MB / 305.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.178, allocations: 446.6 kB / 306.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/0.1784, allocations: 354.3 kB / 306.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.1785, allocations: 15.94 kB / 306.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1785, allocations: 45.17 kB / 306.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.215e-06/0.1785, allocations: 0 / 306.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002145/0.1806, allocations: 1.436 MB / 307.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.1807, allocations: 63.56 kB / 308 MB, free: 12.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/0.1813, allocations: 0.7117 MB / 308.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.1813, allocations: 33.7 kB / 308.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.1817, allocations: 1.018 MB / 309.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.1818, allocations: 239.3 kB / 310 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.1819, allocations: 156 kB / 310.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.182, allocations: 0.5858 MB / 310.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.1822, allocations: 124.3 kB / 310.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.1824, allocations: 441.2 kB / 311.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.1829, allocations: 0.6058 MB / 311.9 MB, free: 9.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1829, allocations: 7.172 kB / 311.9 MB, free: 9.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008056/0.1837, allocations: 0.6791 MB / 312.5 MB, free: 8.914 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1838, allocations: 7.438 kB / 312.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1838, allocations: 8.531 kB / 312.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/0.184, allocations: 74.59 kB / 312.6 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.1843, allocations: 175.7 kB / 312.8 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.1853, allocations: 2.335 MB / 315.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.1857, allocations: 36.2 kB / 315.2 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.1857, allocations: 27.38 kB / 315.2 MB, free: 6.598 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.0004209/0.1861, allocations: 210.8 kB / 315.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.1862, allocations: 107.4 kB / 315.5 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.295e-05/0.1863, allocations: 91.47 kB / 315.6 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.1863, allocations: 8 kB / 315.6 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1863, allocations: 0 / 315.6 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1863, allocations: 7.922 kB / 315.6 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.1883, allocations: 1.954 MB / 317.6 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1883, allocations: 0 / 317.6 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.1886, allocations: 106.9 kB / 317.7 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.1887, allocations: 72.91 kB / 317.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.1887, allocations: 12 kB / 317.8 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007795/0.1895, allocations: 2.311 MB / 320.1 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1895, allocations: 64 / 320.1 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007325/0.1902, allocations: 0.8175 MB / 320.9 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.1904, allocations: 147.4 kB / 321 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.1904, allocations: 12 kB / 321 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.1906, allocations: 44.02 kB / 321.1 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.1907, allocations: 55.88 kB / 321.1 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.1908, allocations: 19.98 kB / 321.2 MB, free: 476 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002906/0.191, allocations: 435 kB / 321.6 MB, free: 48 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.191, allocations: 0 / 321.6 MB, free: 48 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009109/0.192, allocations: 307.1 kB / 321.9 MB, free: 15.75 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.0002236/0.1922, allocations: 134.5 kB / 322 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008066/0.193, allocations: 0.6441 MB / 322.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.193, allocations: 0 / 322.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.1934, allocations: 426.5 kB / 323.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000631/0.194, allocations: 219.2 kB / 323.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.1977, allocations: 2.91 MB / 326.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1981, allocations: 0.5202 MB / 326.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003699/0.1984, allocations: 168.2 kB / 326.9 MB, free: 10.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.1986, allocations: 60.5 kB / 326.9 MB, free: 10.61 MB / 282.7 MB Notification: Performance of SimCode: time 1.593e-06/0.1986, allocations: 0 / 326.9 MB, free: 10.61 MB / 282.7 MB Notification: Performance of Templates: time 0.01671/0.2153, allocations: 12.21 MB / 339.2 MB, free: 14.67 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.042457996169105]