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.001157/0.001157, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001187/0.001187, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 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 1.065/1.065, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.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 2.524e-06/2.524e-06, allocations: 4 kB / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.306e-05, allocations: 2.312 kB / 273 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005997/0.00602, allocations: 5.849 MB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003393/0.009413, allocations: 1.686 MB / 280.5 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006883/0.0101, allocations: 63.62 kB / 280.6 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005468/0.01065, allocations: 321.4 kB / 280.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.0118, allocations: 397.1 kB / 281.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.01237, allocations: 359.4 kB / 281.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.01415, allocations: 2.082 MB / 283.7 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.01574, allocations: 1.56 MB / 285.3 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/0.01727, allocations: 1.607 MB / 286.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.01864, allocations: 1.173 MB / 288.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003969/0.01904, allocations: 308 kB / 288.4 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005683/0.01961, allocations: 455.5 kB / 288.8 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004842/0.02009, allocations: 0.7675 MB / 289.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1337/0.1538, allocations: 0.88 MB / 290.4 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003854/0.1577, allocations: 2.104 MB / 292.5 MB, free: 18.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1577, allocations: 0 / 292.5 MB, free: 18.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1577, allocations: 0.7812 kB / 292.5 MB, free: 18.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001287/0.1578, allocations: 0 / 292.5 MB, free: 18.03 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.004678/0.1625, allocations: 2.617 MB / 295.2 MB, free: 16.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.1625, allocations: 9.781 kB / 295.2 MB, free: 16.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009341/0.1635, allocations: 466.1 kB / 295.6 MB, free: 16.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.1651, allocations: 1.189 MB / 296.8 MB, free: 16.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-05/0.1652, allocations: 167.5 kB / 297 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.1655, allocations: 223.9 kB / 297.2 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/0.1681, allocations: 1.361 MB / 298.6 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.1682, allocations: 0.875 kB / 298.6 MB, free: 16.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.1683, allocations: 94.25 kB / 298.7 MB, free: 16.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/0.1684, allocations: 57.3 kB / 298.7 MB, free: 16.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.1699, allocations: 0.6894 MB / 299.4 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006925/0.1768, allocations: 6.12 MB / 305.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.1773, allocations: 436.5 kB / 305.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/0.1778, allocations: 349.4 kB / 306.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.1778, allocations: 10.84 kB / 306.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.1778, allocations: 43.52 kB / 306.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.855e-06/0.1778, allocations: 0 / 306.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001934/0.1798, allocations: 1.445 MB / 307.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.1798, allocations: 59.19 kB / 307.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.1803, allocations: 0.7153 MB / 308.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.1804, allocations: 33.7 kB / 308.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.1807, allocations: 1.017 MB / 309.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.1808, allocations: 240.8 kB / 309.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.1809, allocations: 156.6 kB / 310 MB, free: 10.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1811, allocations: 0.5829 MB / 310.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.1812, allocations: 116.7 kB / 310.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.1815, allocations: 442 kB / 311.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.182, allocations: 0.6158 MB / 311.7 MB, free: 8.777 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.182, allocations: 6.594 kB / 311.7 MB, free: 8.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0008116/0.1828, allocations: 0.6776 MB / 312.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1828, allocations: 9.875 kB / 312.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.1829, allocations: 6.969 kB / 312.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002379/0.1831, allocations: 77.36 kB / 312.5 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.1835, allocations: 165 kB / 312.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.1845, allocations: 2.33 MB / 315 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.1848, allocations: 35.98 kB / 315 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.1848, allocations: 39.92 kB / 315.1 MB, free: 6.004 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.0002758/0.1851, allocations: 203.3 kB / 315.3 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.1852, allocations: 107.3 kB / 315.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.053e-05/0.1853, allocations: 95.45 kB / 315.5 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.1853, allocations: 8 kB / 315.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.1853, allocations: 4.031 kB / 315.5 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1853, allocations: 6.938 kB / 315.5 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.1872, allocations: 1.955 MB / 317.5 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.1872, allocations: 4 kB / 317.5 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.1874, allocations: 107.3 kB / 317.6 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001508/0.1875, allocations: 65.42 kB / 317.6 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.1876, allocations: 16 kB / 317.6 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008825/0.1885, allocations: 2.305 MB / 319.9 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1885, allocations: 7.844 kB / 320 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007258/0.1892, allocations: 0.815 MB / 320.8 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.1893, allocations: 135.4 kB / 320.9 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-05/0.1894, allocations: 20.38 kB / 320.9 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.1896, allocations: 39.91 kB / 321 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1897, allocations: 50.44 kB / 321 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.1897, allocations: 23.98 kB / 321 MB, free: 15.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003706/0.1901, allocations: 435 kB / 321.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1901, allocations: 0 / 321.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007654/0.1909, allocations: 303.9 kB / 321.8 MB, free: 15.17 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.000263/0.1911, allocations: 136.4 kB / 321.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008767/0.192, allocations: 0.652 MB / 322.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.192, allocations: 0 / 322.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.1924, allocations: 431.6 kB / 323 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006505/0.1931, allocations: 223.3 kB / 323.2 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.1974, allocations: 2.895 MB / 326.1 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.1978, allocations: 0.5202 MB / 326.6 MB, free: 10.26 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.00033/0.1982, allocations: 163.6 kB / 326.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.1983, allocations: 64.48 kB / 326.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1983, allocations: 0 / 326.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of Templates: time 0.01785/0.2161, allocations: 12.22 MB / 339 MB, free: 14.08 MB / 298.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 -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: 3.3267906750552356]