Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007327/0.0007327, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009682/0.001701, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006996/0.0006996, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008383/0.001538, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9413/0.9413, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08648/1.028, allocations: 53.64 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.742e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007263/0.00728, allocations: 5.808 MB / 250.3 MB, free: 8.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.01103, allocations: 1.755 MB / 252.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.01151, allocations: 63.62 kB / 252.1 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.01192, allocations: 329.4 kB / 252.5 MB, free: 6.328 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007911/0.01271, allocations: 393.1 kB / 252.8 MB, free: 5.941 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.01315, allocations: 363.3 kB / 253.2 MB, free: 5.586 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.01442, allocations: 2.09 MB / 255.3 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.01562, allocations: 1.583 MB / 256.9 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.01679, allocations: 1.697 MB / 258.6 MB, free: 124 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009508/0.01774, allocations: 1.173 MB / 259.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.018, allocations: 312 kB / 260.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004457/0.01844, allocations: 451.5 kB / 260.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.0188, allocations: 0.6157 MB / 261.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005566/0.01936, allocations: 0.7292 MB / 261.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.02068, allocations: 1.951 MB / 263.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.02069, allocations: 0 / 263.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02069, allocations: 0 / 263.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.154e-05/0.02073, allocations: 3.938 kB / 263.8 MB, free: 10.89 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.002404/0.02313, allocations: 2.8 MB / 266.6 MB, free: 8.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.02316, allocations: 8.031 kB / 266.6 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000565/0.02372, allocations: 453.8 kB / 267 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000902/0.02463, allocations: 0.7882 MB / 267.8 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.018e-05/0.02471, allocations: 172.8 kB / 268 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.0249, allocations: 220.4 kB / 268.2 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.02627, allocations: 1.355 MB / 269.6 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.0263, allocations: 7.938 kB / 269.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.02641, allocations: 95.98 kB / 269.7 MB, free: 4.848 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002676/0.02668, allocations: 59.98 kB / 269.7 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006351/0.02732, allocations: 459.4 kB / 270.2 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1126/0.14, allocations: 4.676 MB / 274.9 MB, free: 20.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.1404, allocations: 418.9 kB / 275.3 MB, free: 19.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/0.1408, allocations: 290.4 kB / 275.5 MB, free: 19.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.1408, allocations: 11.56 kB / 275.6 MB, free: 19.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1408, allocations: 44.98 kB / 275.6 MB, free: 19.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 3.086e-06/0.1408, allocations: 0 / 275.6 MB, free: 19.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001801/0.1426, allocations: 1.007 MB / 276.6 MB, free: 19.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.1426, allocations: 58.69 kB / 276.7 MB, free: 19.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.1432, allocations: 0.5621 MB / 277.2 MB, free: 19.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1432, allocations: 38.56 kB / 277.3 MB, free: 19.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.1436, allocations: 0.8609 MB / 278.1 MB, free: 18.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.1437, allocations: 238.3 kB / 278.4 MB, free: 18.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.1438, allocations: 141.3 kB / 278.5 MB, free: 18.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.1439, allocations: 400 kB / 278.9 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.144, allocations: 91.97 kB / 279 MB, free: 18.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.1442, allocations: 304.6 kB / 279.3 MB, free: 18.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.1446, allocations: 487.1 kB / 279.8 MB, free: 17.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1446, allocations: 3.469 kB / 279.8 MB, free: 17.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.000638/0.1453, allocations: 0.505 MB / 280.3 MB, free: 17.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1453, allocations: 10.88 kB / 280.3 MB, free: 17.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.1453, allocations: 6.875 kB / 280.3 MB, free: 17.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.1455, allocations: 65.88 kB / 280.3 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.1459, allocations: 184.5 kB / 280.5 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009819/0.1469, allocations: 1.677 MB / 282.2 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.1472, allocations: 29.16 kB / 282.2 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.1472, allocations: 24.94 kB / 282.3 MB, free: 16.48 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.0003086/0.1475, allocations: 162.3 kB / 282.4 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.1476, allocations: 76.14 kB / 282.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.923e-05/0.1477, allocations: 92.33 kB / 282.6 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.1477, allocations: 7.922 kB / 282.6 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.1478, allocations: 4.734 kB / 282.6 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.1478, allocations: 3.281 kB / 282.6 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.1497, allocations: 1.569 MB / 284.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1497, allocations: 2.234 kB / 284.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.15, allocations: 116.6 kB / 284.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.1501, allocations: 102.4 kB / 284.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.1503, allocations: 63.92 kB / 284.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.1503, allocations: 17.45 kB / 284.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008211/0.1511, allocations: 1.661 MB / 286.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1511, allocations: 5.312 kB / 286.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.1517, allocations: 0.636 MB / 286.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.1518, allocations: 18.86 kB / 286.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.152, allocations: 24.84 kB / 286.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.152, allocations: 49.92 kB / 286.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.1521, allocations: 22.44 kB / 286.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002732/0.1523, allocations: 264.1 kB / 287.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1523, allocations: 0 / 287.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008067/0.1532, allocations: 296.2 kB / 287.4 MB, free: 14.23 MB / 266.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.0001975/0.1534, allocations: 122.4 kB / 287.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006127/0.154, allocations: 0.5073 MB / 288 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.928e-05/0.154, allocations: 17.3 kB / 288.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.1543, allocations: 330.1 kB / 288.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.1549, allocations: 271.3 kB / 288.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005973/0.1609, allocations: 3.233 MB / 291.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1611, allocations: 461.5 kB / 292.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00027/0.1614, allocations: 102.5 kB / 292.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.1617, allocations: 244.4 kB / 292.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1617, allocations: 0 / 292.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of Templates: time 0.01673/0.1785, allocations: 13.74 MB / 306.4 MB, free: 1.645 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.8295562714338303]