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.001266/0.001266, allocations: 81.91 kB / 21.43 MB, free: 3.062 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.001977/0.001977, allocations: 162.6 kB / 24.82 MB, free: 8.914 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.044/1.044, allocations: 177 MB / 205.1 MB, free: 5.473 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.723e-06/1.723e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.604e-05, allocations: 2.312 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007795/0.007821, allocations: 5.728 MB / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003869/0.01169, allocations: 1.678 MB / 280.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009717/0.01266, allocations: 63.62 kB / 280.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000756/0.01342, allocations: 325.3 kB / 281.1 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.01479, allocations: 393.1 kB / 281.5 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.0155, allocations: 371.3 kB / 281.9 MB, free: 8.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.01721, allocations: 2.086 MB / 283.9 MB, free: 6.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/0.01925, allocations: 1.556 MB / 285.5 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.02105, allocations: 1.634 MB / 287.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.0225, allocations: 1.165 MB / 288.3 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005014/0.023, allocations: 312 kB / 288.6 MB, free: 1.832 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006736/0.02368, allocations: 447.6 kB / 289 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000505/0.02418, allocations: 0.7753 MB / 289.8 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1141/0.1383, allocations: 0.8806 MB / 290.7 MB, free: 17.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00357/0.1419, allocations: 2.103 MB / 292.8 MB, free: 17.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1419, allocations: 1.219 kB / 292.8 MB, free: 17.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1419, allocations: 0 / 292.8 MB, free: 17.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001342/0.142, allocations: 0 / 292.8 MB, free: 17.59 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.004871/0.1469, allocations: 2.585 MB / 295.4 MB, free: 16.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.147, allocations: 15.64 kB / 295.4 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009248/0.1479, allocations: 466.7 kB / 295.9 MB, free: 16.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.1494, allocations: 1.101 MB / 297 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.1495, allocations: 167.1 kB / 297.1 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000293/0.1498, allocations: 223 kB / 297.3 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.152, allocations: 1.206 MB / 298.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.152, allocations: 1.031 kB / 298.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.1522, allocations: 97.69 kB / 298.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.783e-05/0.1522, allocations: 84.34 kB / 298.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009931/0.1532, allocations: 0.5294 MB / 299.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007063/0.1603, allocations: 5.721 MB / 305 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.1607, allocations: 403.2 kB / 305.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.1611, allocations: 321.7 kB / 305.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.1611, allocations: 13.47 kB / 305.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.1612, allocations: 44.7 kB / 305.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.054e-06/0.1612, allocations: 0 / 305.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001603/0.1628, allocations: 1.124 MB / 306.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.677e-05/0.1628, allocations: 62.22 kB / 306.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.1633, allocations: 0.6979 MB / 307.6 MB, free: 12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.1633, allocations: 36.98 kB / 307.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.1636, allocations: 1.019 MB / 308.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.1637, allocations: 241.3 kB / 308.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.1639, allocations: 163.5 kB / 309.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.164, allocations: 0.5933 MB / 309.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1641, allocations: 86.2 kB / 309.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.1644, allocations: 423.1 kB / 310.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.1648, allocations: 0.5663 MB / 310.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1648, allocations: 0 / 310.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006427/0.1654, allocations: 0.6194 MB / 311.3 MB, free: 9.414 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1654, allocations: 7.312 kB / 311.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1654, allocations: 6.594 kB / 311.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.1656, allocations: 74.05 kB / 311.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.1659, allocations: 162.2 kB / 311.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009565/0.1669, allocations: 2.288 MB / 313.9 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.1672, allocations: 24.95 kB / 313.9 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.1672, allocations: 29.25 kB / 313.9 MB, free: 7.25 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.0003582/0.1675, allocations: 214.1 kB / 314.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.1677, allocations: 105.8 kB / 314.2 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.173e-05/0.1677, allocations: 89.53 kB / 314.3 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.1678, allocations: 9.406 kB / 314.3 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.1678, allocations: 0 / 314.3 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1678, allocations: 3.984 kB / 314.3 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.1697, allocations: 1.891 MB / 316.2 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1697, allocations: 4 kB / 316.2 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.1699, allocations: 91.86 kB / 316.3 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/0.17, allocations: 71.97 kB / 316.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.1701, allocations: 15.98 kB / 316.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008003/0.1709, allocations: 2.255 MB / 318.7 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1709, allocations: 4 kB / 318.7 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/0.1715, allocations: 0.7436 MB / 319.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.1716, allocations: 127.4 kB / 319.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.1717, allocations: 24 kB / 319.6 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.1718, allocations: 26.94 kB / 319.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.1719, allocations: 44.41 kB / 319.6 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.1719, allocations: 12 kB / 319.6 MB, free: 2.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002144/0.1722, allocations: 408.9 kB / 320 MB, free: 1.656 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1722, allocations: 2.734 kB / 320.1 MB, free: 1.656 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008269/0.173, allocations: 305.5 kB / 320.3 MB, free: 1.359 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.0001783/0.1732, allocations: 138.8 kB / 320.5 MB, free: 1.223 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005616/0.1737, allocations: 0.597 MB / 321.1 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1737, allocations: 384 / 321.1 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.174, allocations: 408.4 kB / 321.5 MB, free: 252 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005969/0.1746, allocations: 224 kB / 321.7 MB, free: 40 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.1786, allocations: 2.888 MB / 324.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.179, allocations: 0.5241 MB / 325.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.1793, allocations: 95.06 kB / 325.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/0.1797, allocations: 286 kB / 325.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1797, allocations: 4 kB / 325.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of Templates: time 0.02015/0.1998, allocations: 13.14 MB / 338.6 MB, free: 15.34 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.9494162942282856]