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.0007155/0.0007155, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.001782, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006925/0.0006925, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001158/0.001851, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9695/0.9695, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08806/1.058, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.593e-06/1.593e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.063e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007779/0.0078, allocations: 5.815 MB / 250.5 MB, free: 8.379 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004774/0.01257, allocations: 1.763 MB / 252.3 MB, free: 6.609 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.01379, allocations: 63.62 kB / 252.3 MB, free: 6.547 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007768/0.01456, allocations: 325.4 kB / 252.7 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.01628, allocations: 393 kB / 253 MB, free: 5.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009519/0.01723, allocations: 363.3 kB / 253.4 MB, free: 5.484 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002551/0.01978, allocations: 2.09 MB / 255.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00241/0.02219, allocations: 1.595 MB / 257.1 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002532/0.02473, allocations: 1.697 MB / 258.8 MB, free: 8 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.02683, allocations: 1.161 MB / 259.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007518/0.02759, allocations: 308 kB / 260.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.02871, allocations: 455.6 kB / 260.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006465/0.02936, allocations: 0.6157 MB / 261.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009645/0.03032, allocations: 0.7253 MB / 262 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.03204, allocations: 1.959 MB / 264 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.03205, allocations: 0 / 264 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.03205, allocations: 4 kB / 264 MB, free: 10.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.983e-05/0.03208, allocations: 0 / 264 MB, free: 10.79 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.002515/0.03459, allocations: 2.796 MB / 266.8 MB, free: 7.949 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.03463, allocations: 19.97 kB / 266.8 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006161/0.03524, allocations: 449.8 kB / 267.2 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009166/0.03616, allocations: 0.7883 MB / 268 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.358e-05/0.03624, allocations: 168.9 kB / 268.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.03643, allocations: 220.3 kB / 268.4 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.03785, allocations: 1.355 MB / 269.8 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.03788, allocations: 7.922 kB / 269.8 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.03799, allocations: 92 kB / 269.9 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.965e-05/0.03803, allocations: 56 kB / 269.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/0.0387, allocations: 467.4 kB / 270.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1195/0.1582, allocations: 4.684 MB / 275.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.1585, allocations: 412.2 kB / 275.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.1589, allocations: 290.3 kB / 275.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.1589, allocations: 10.81 kB / 275.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.1589, allocations: 39.98 kB / 275.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.074e-06/0.159, allocations: 0.5 kB / 275.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001581/0.1605, allocations: 1.025 MB / 276.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.1606, allocations: 60.03 kB / 276.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.161, allocations: 0.5619 MB / 277.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.161, allocations: 40.02 kB / 277.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.1613, allocations: 0.8659 MB / 278.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.124e-05/0.1614, allocations: 233.9 kB / 278.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.1615, allocations: 145.5 kB / 278.7 MB, free: 14.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.1616, allocations: 397.4 kB / 279.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.1617, allocations: 89.08 kB / 279.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.1619, allocations: 315 kB / 279.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.1623, allocations: 0.4994 MB / 280 MB, free: 13.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1623, allocations: 7.906 kB / 280 MB, free: 13.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005967/0.1629, allocations: 0.4949 MB / 280.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1629, allocations: 9.156 kB / 280.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1629, allocations: 10.12 kB / 280.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.1631, allocations: 68.45 kB / 280.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.1635, allocations: 180.1 kB / 280.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008346/0.1643, allocations: 1.664 MB / 282.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.1645, allocations: 29.89 kB / 282.5 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.1646, allocations: 32.92 kB / 282.5 MB, free: 12.23 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.0002502/0.1648, allocations: 160.6 kB / 282.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.1649, allocations: 72.94 kB / 282.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.88e-05/0.165, allocations: 89.38 kB / 282.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.165, allocations: 8.656 kB / 282.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.1651, allocations: 1.125 kB / 282.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1651, allocations: 4.391 kB / 282.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.1668, allocations: 1.567 MB / 284.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1668, allocations: 5.438 kB / 284.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.1671, allocations: 117.9 kB / 284.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.1672, allocations: 104.7 kB / 284.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.1673, allocations: 62.73 kB / 284.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.1674, allocations: 13.33 kB / 284.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007441/0.1681, allocations: 1.672 MB / 286.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1681, allocations: 1.875 kB / 286.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.1687, allocations: 0.6321 MB / 287 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.1688, allocations: 21.75 kB / 287 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.1689, allocations: 26.05 kB / 287 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.169, allocations: 48.88 kB / 287.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.169, allocations: 13.8 kB / 287.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002265/0.1692, allocations: 268.2 kB / 287.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1692, allocations: 0 / 287.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007021/0.1699, allocations: 299.8 kB / 287.7 MB, free: 9.98 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.0001631/0.1701, allocations: 125.6 kB / 287.8 MB, free: 9.902 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000509/0.1706, allocations: 0.508 MB / 288.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.388e-05/0.1706, allocations: 15.09 kB / 288.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.171, allocations: 371.9 kB / 288.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008216/0.1718, allocations: 2.12 MB / 290.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005478/0.1773, allocations: 3.232 MB / 294 MB, free: 6.043 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1776, allocations: 463.5 kB / 294.5 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.1778, allocations: 104.6 kB / 294.6 MB, free: 5.914 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.1782, allocations: 249.1 kB / 294.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1782, allocations: 0 / 294.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of Templates: time 0.0173/0.1955, allocations: 13.59 MB / 308.4 MB, free: 12 MB / 282.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.814130295999348]