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.0009715/0.0009715, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009572/0.0009572, allocations: 160.5 kB / 24.55 MB, free: 16 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.9374/0.9374, allocations: 177 MB / 204.8 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.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.663e-06/1.663e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.636e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004991/0.005008, allocations: 5.864 MB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.007424, allocations: 1.69 MB / 280.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003483/0.007773, allocations: 59.62 kB / 280.5 MB, free: 9.793 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.008172, allocations: 325.4 kB / 280.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007786/0.008951, allocations: 405 kB / 281.2 MB, free: 9.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.009585, allocations: 363.4 kB / 281.6 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.01101, allocations: 2.086 MB / 283.7 MB, free: 6.625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.01232, allocations: 1.552 MB / 285.2 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.01364, allocations: 1.645 MB / 286.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.01471, allocations: 1.158 MB / 288 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003289/0.01504, allocations: 308 kB / 288.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007206/0.01576, allocations: 447.6 kB / 288.8 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004026/0.01616, allocations: 0.7753 MB / 289.5 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1159/0.1321, allocations: 0.88 MB / 290.4 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00318/0.1353, allocations: 2.102 MB / 292.5 MB, free: 18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1353, allocations: 2.109 kB / 292.5 MB, free: 18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1353, allocations: 0.5312 kB / 292.5 MB, free: 18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.095e-05/0.1353, allocations: 0.9688 kB / 292.5 MB, free: 18 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.003579/0.1389, allocations: 2.615 MB / 295.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.139, allocations: 15.31 kB / 295.2 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007579/0.1397, allocations: 466.2 kB / 295.6 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.1411, allocations: 1.172 MB / 296.8 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.194e-05/0.1412, allocations: 172.5 kB / 297 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.1414, allocations: 219.2 kB / 297.2 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.1437, allocations: 1.359 MB / 298.5 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.1437, allocations: 0.6562 kB / 298.5 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.1438, allocations: 94.31 kB / 298.6 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.95e-05/0.1439, allocations: 85.77 kB / 298.7 MB, free: 16.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.1452, allocations: 0.6905 MB / 299.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005751/0.151, allocations: 6.146 MB / 305.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.1514, allocations: 444.5 kB / 306 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.1518, allocations: 362.5 kB / 306.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1518, allocations: 11.5 kB / 306.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1519, allocations: 45.33 kB / 306.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 1.984e-06/0.1519, allocations: 0 / 306.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001596/0.1535, allocations: 1.439 MB / 307.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/0.1535, allocations: 65.84 kB / 307.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004878/0.154, allocations: 0.7084 MB / 308.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.154, allocations: 37.2 kB / 308.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.1543, allocations: 1.016 MB / 309.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.1544, allocations: 235.7 kB / 309.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.1545, allocations: 161.8 kB / 310 MB, free: 10.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1546, allocations: 0.582 MB / 310.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.1548, allocations: 113 kB / 310.7 MB, free: 9.562 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.155, allocations: 446.2 kB / 311.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.1555, allocations: 0.6148 MB / 311.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1555, allocations: 3 kB / 311.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007001/0.1562, allocations: 0.6724 MB / 312.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1562, allocations: 9.344 kB / 312.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1562, allocations: 7.656 kB / 312.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.1564, allocations: 79.67 kB / 312.6 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.1567, allocations: 169 kB / 312.7 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009272/0.1577, allocations: 2.338 MB / 315.1 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.158, allocations: 35.97 kB / 315.1 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.158, allocations: 28 kB / 315.1 MB, free: 5.852 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.0002752/0.1583, allocations: 204.5 kB / 315.3 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.1584, allocations: 109.2 kB / 315.4 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.1585, allocations: 99.48 kB / 315.5 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.1586, allocations: 8 kB / 315.5 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1586, allocations: 0 / 315.5 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1586, allocations: 7.922 kB / 315.5 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.1608, allocations: 1.955 MB / 317.5 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1608, allocations: 0 / 317.5 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.1611, allocations: 106.9 kB / 317.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001625/0.1613, allocations: 67.92 kB / 317.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.1613, allocations: 19.98 kB / 317.7 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009471/0.1623, allocations: 2.303 MB / 320 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1623, allocations: 0 / 320 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/0.1632, allocations: 0.8128 MB / 320.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.1634, allocations: 147.3 kB / 320.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/0.1634, allocations: 12 kB / 321 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.1637, allocations: 35.97 kB / 321 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.1638, allocations: 59.77 kB / 321 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.1639, allocations: 16 kB / 321.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004428/0.1643, allocations: 438.9 kB / 321.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1643, allocations: 4.031 kB / 321.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008547/0.1652, allocations: 310.2 kB / 321.8 MB, free: 15.01 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.0002131/0.1654, allocations: 130.5 kB / 321.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009044/0.1663, allocations: 0.6484 MB / 322.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1663, allocations: 1.859 kB / 322.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.1668, allocations: 422.8 kB / 323 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000816/0.1676, allocations: 222.9 kB / 323.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.1718, allocations: 2.916 MB / 326.1 MB, free: 10.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.1723, allocations: 0.5163 MB / 326.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000633/0.1729, allocations: 167.9 kB / 326.8 MB, free: 9.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.173, allocations: 64.48 kB / 326.9 MB, free: 9.867 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.173, allocations: 0 / 326.9 MB, free: 9.867 MB / 282.7 MB Notification: Performance of Templates: time 0.02009/0.1931, allocations: 12.89 MB / 339.8 MB, free: 13.25 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: 2.943460240960121]