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.0009346/0.0009346, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001196/0.001196, allocations: 168.9 kB / 24.91 MB, free: 8.723 MB / 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 0.9468/0.9468, allocations: 177.1 MB / 205.3 MB, free: 4.488 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 1.974e-06/1.974e-06, allocations: 0 / 273.5 MB, free: 4.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.618e-05, allocations: 2.312 kB / 273.5 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007458/0.007484, allocations: 5.75 MB / 279.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.01062, allocations: 1.757 MB / 281 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004833/0.0111, allocations: 63.62 kB / 281.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.01156, allocations: 321.5 kB / 281.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008878/0.01245, allocations: 408.9 kB / 281.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.01296, allocations: 351.5 kB / 282.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.01448, allocations: 2.094 MB / 284.2 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.01587, allocations: 1.583 MB / 285.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.01763, allocations: 1.626 MB / 287.4 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.019, allocations: 1.169 MB / 288.6 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006358/0.01964, allocations: 308 kB / 288.9 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006915/0.02033, allocations: 467.5 kB / 289.3 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004261/0.02075, allocations: 0.7597 MB / 290.1 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006536/0.02141, allocations: 0.881 MB / 291 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.0231, allocations: 2.091 MB / 293.1 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.02311, allocations: 0 / 293.1 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.02311, allocations: 4 kB / 293.1 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.02313, allocations: 0 / 293.1 MB, free: 0.6523 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.02564, allocations: 2.339 MB / 295.4 MB, free: 14.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.02568, allocations: 12.03 kB / 295.4 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005963/0.02628, allocations: 376.6 kB / 295.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009349/0.02721, allocations: 0.7804 MB / 296.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/0.02729, allocations: 172.9 kB / 296.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.02748, allocations: 216.4 kB / 297 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.02893, allocations: 1.363 MB / 298.3 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.02897, allocations: 7.938 kB / 298.3 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.02907, allocations: 84 kB / 298.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.828e-05/0.02912, allocations: 60 kB / 298.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006479/0.02977, allocations: 471.4 kB / 298.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005138/0.03491, allocations: 4.644 MB / 303.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.03528, allocations: 406.6 kB / 304 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/0.03576, allocations: 301.4 kB / 304.3 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.0358, allocations: 16.5 kB / 304.3 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.03583, allocations: 39.06 kB / 304.3 MB, free: 5.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=63): time 2.725e-06/0.03583, allocations: 0 / 304.3 MB, free: 5.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=65): time 0.001763/0.03759, allocations: 1.01 MB / 305.3 MB, free: 3.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.03762, allocations: 60.06 kB / 305.4 MB, free: 3.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.03811, allocations: 0.5583 MB / 306 MB, free: 3.336 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.03815, allocations: 33.7 kB / 306 MB, free: 3.297 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.03855, allocations: 0.871 MB / 306.9 MB, free: 2.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.03868, allocations: 230 kB / 307.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.03886, allocations: 146.5 kB / 307.2 MB, free: 2.035 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.03899, allocations: 398.5 kB / 307.6 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.03914, allocations: 92.78 kB / 307.7 MB, free: 1.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.0394, allocations: 305.1 kB / 308 MB, free: 1.152 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.03988, allocations: 492.8 kB / 308.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.03988, allocations: 0 / 308.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009651/0.04085, allocations: 0.4994 MB / 309 MB, free: 60 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.04087, allocations: 8 kB / 309 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.04088, allocations: 8 kB / 309 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.0411, allocations: 72.11 kB / 309.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.04158, allocations: 171.7 kB / 309.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.04283, allocations: 1.676 MB / 310.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.04313, allocations: 28.03 kB / 310.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.04318, allocations: 31.98 kB / 311 MB, free: 13.98 MB / 298.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.0003517/0.04353, allocations: 160.5 kB / 311.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.04367, allocations: 71.92 kB / 311.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.04379, allocations: 95.45 kB / 311.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.04381, allocations: 11.94 kB / 311.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.04382, allocations: 0 / 311.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.04383, allocations: 3.984 kB / 311.3 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.04601, allocations: 1.574 MB / 312.9 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.04602, allocations: 160 / 312.9 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.04633, allocations: 107.9 kB / 313 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001644/0.0465, allocations: 67.52 kB / 313.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.04653, allocations: 16 kB / 313.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.04768, allocations: 1.663 MB / 314.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.04768, allocations: 0 / 314.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007686/0.04845, allocations: 0.6409 MB / 315.4 MB, free: 9.363 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.04862, allocations: 99.52 kB / 315.5 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.898e-05/0.04869, allocations: 16 kB / 315.5 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.04892, allocations: 27.92 kB / 315.5 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/0.04901, allocations: 48.34 kB / 315.6 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.04904, allocations: 12 kB / 315.6 MB, free: 9.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004967/0.04954, allocations: 264.6 kB / 315.8 MB, free: 8.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04954, allocations: 0 / 315.8 MB, free: 8.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008724/0.05041, allocations: 304 kB / 316.1 MB, free: 8.613 MB / 298.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.0002003/0.05061, allocations: 116.3 kB / 316.2 MB, free: 8.492 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006946/0.05131, allocations: 0.5021 MB / 316.7 MB, free: 7.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/0.05133, allocations: 16.56 kB / 316.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.0517, allocations: 323.3 kB / 317.1 MB, free: 7.633 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.05241, allocations: 219 kB / 317.3 MB, free: 7.418 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/0.05625, allocations: 2.846 MB / 320.1 MB, free: 4.504 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.05666, allocations: 436.7 kB / 320.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003255/0.05698, allocations: 99.05 kB / 320.7 MB, free: 3.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.05744, allocations: 241.2 kB / 320.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of SimCode: time 1.343e-06/0.05744, allocations: 7.938 kB / 320.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of Templates: time 0.02263/0.08007, allocations: 13.07 MB / 334 MB, free: 6.914 MB / 314.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 -s gbode -gbm=radauIIA3 -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: 2.814056834205985]