Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009752/0.0009752, allocations: 68.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009831/0.0009831, allocations: 143.2 kB / 24.98 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9068/0.9068, allocations: 173.4 MB / 201.5 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.775e-05, allocations: 6.25 kB / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006449/0.006476, allocations: 5.798 MB / 273.9 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003486/0.009962, allocations: 1.623 MB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005353/0.0105, allocations: 67.62 kB / 275.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.01098, allocations: 325.4 kB / 275.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009525/0.01194, allocations: 389.1 kB / 276.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.01246, allocations: 363.4 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.01407, allocations: 2.074 MB / 278.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.01643, allocations: 1.552 MB / 280.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.01807, allocations: 1.61 MB / 281.9 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.01948, allocations: 1.165 MB / 283 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005095/0.01999, allocations: 312 kB / 283.3 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006107/0.0206, allocations: 463.5 kB / 283.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004711/0.02107, allocations: 0.7635 MB / 284.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008609/0.02193, allocations: 0.8888 MB / 285.4 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.02399, allocations: 2.091 MB / 287.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.02399, allocations: 4 kB / 287.5 MB, free: 3.141 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.02399, allocations: 0 / 287.5 MB, free: 3.141 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.333e-05/0.02405, allocations: 0 / 287.5 MB, free: 3.141 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.002982/0.02703, allocations: 2.612 MB / 290.1 MB, free: 488 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.02709, allocations: 12.92 kB / 290.1 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007028/0.02779, allocations: 435.4 kB / 290.6 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1268/0.1545, allocations: 1.166 MB / 291.7 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.1547, allocations: 170 kB / 291.9 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000358/0.1551, allocations: 219.8 kB / 292.1 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.158, allocations: 1.356 MB / 293.5 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/0.158, allocations: 1.281 kB / 293.5 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.1581, allocations: 91.41 kB / 293.6 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.992e-05/0.1582, allocations: 57.02 kB / 293.6 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.1598, allocations: 0.6947 MB / 294.3 MB, free: 24.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0088/0.1686, allocations: 6.111 MB / 300.4 MB, free: 21.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.1692, allocations: 455.6 kB / 300.9 MB, free: 21.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.1697, allocations: 355.2 kB / 301.2 MB, free: 21.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.1697, allocations: 10.81 kB / 301.2 MB, free: 21.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1698, allocations: 40.98 kB / 301.3 MB, free: 21.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 4.639e-06/0.1698, allocations: 0 / 301.3 MB, free: 21.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002512/0.1723, allocations: 1.445 MB / 302.7 MB, free: 20.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.1723, allocations: 59.38 kB / 302.8 MB, free: 20.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007992/0.1731, allocations: 0.7027 MB / 303.5 MB, free: 20.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.1731, allocations: 36.45 kB / 303.5 MB, free: 20.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.1735, allocations: 1.014 MB / 304.5 MB, free: 19.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1737, allocations: 236.3 kB / 304.8 MB, free: 19.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1738, allocations: 152.3 kB / 304.9 MB, free: 19.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1739, allocations: 0.5915 MB / 305.5 MB, free: 18.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.1741, allocations: 111.3 kB / 305.6 MB, free: 18.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.1744, allocations: 442.9 kB / 306 MB, free: 18.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005477/0.175, allocations: 0.6114 MB / 306.6 MB, free: 17.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.175, allocations: 6.156 kB / 306.7 MB, free: 17.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009547/0.1759, allocations: 0.6828 MB / 307.3 MB, free: 17.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1759, allocations: 9.406 kB / 307.3 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.176, allocations: 10.75 kB / 307.4 MB, free: 17.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.1762, allocations: 73.97 kB / 307.4 MB, free: 17.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.1766, allocations: 172.1 kB / 307.6 MB, free: 17.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.1778, allocations: 2.324 MB / 309.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.1781, allocations: 38.75 kB / 310 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.1782, allocations: 35.52 kB / 310 MB, free: 15.5 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.0004043/0.1786, allocations: 210.6 kB / 310.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.1787, allocations: 102.6 kB / 310.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.157e-05/0.1788, allocations: 91.94 kB / 310.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.1788, allocations: 6.844 kB / 310.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.1788, allocations: 3.406 kB / 310.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1788, allocations: 7.406 kB / 310.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.1811, allocations: 1.944 MB / 312.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1811, allocations: 4.031 kB / 312.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.1813, allocations: 103 kB / 312.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.1815, allocations: 79.64 kB / 312.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.1815, allocations: 16 kB / 312.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009169/0.1825, allocations: 2.304 MB / 314.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1825, allocations: 0 / 314.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000794/0.1832, allocations: 0.8146 MB / 315.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.1834, allocations: 139.5 kB / 315.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.1835, allocations: 19.06 kB / 315.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.1837, allocations: 39.95 kB / 315.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.38e-05/0.1838, allocations: 52.41 kB / 315.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.1838, allocations: 19.98 kB / 315.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003016/0.1841, allocations: 438.5 kB / 316.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1841, allocations: 0 / 316.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008944/0.185, allocations: 298.3 kB / 316.7 MB, free: 9.59 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.0002246/0.1852, allocations: 142.5 kB / 316.8 MB, free: 9.441 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007684/0.186, allocations: 0.6525 MB / 317.4 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.186, allocations: 4 kB / 317.4 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.1864, allocations: 423.8 kB / 317.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.187, allocations: 225.4 kB / 318.1 MB, free: 8.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.1906, allocations: 2.889 MB / 321 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.1909, allocations: 0.5162 MB / 321.5 MB, free: 4.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003254/0.1912, allocations: 166.9 kB / 321.6 MB, free: 4.496 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1913, allocations: 60.48 kB / 321.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of SimCode: time 1.332e-06/0.1913, allocations: 0 / 321.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of Templates: time 0.01641/0.2077, allocations: 12.27 MB / 334 MB, free: 8.438 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0314622919540852]