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.001272/0.001272, allocations: 82.44 kB / 20.68 MB, free: 1.027 MB / 14.72 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.00144/0.00144, allocations: 164.5 kB / 23.95 MB, free: 4.156 MB / 14.72 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.479/1.479, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.2..i|inductor.inductor.3..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.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.192e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006922/0.006944, allocations: 5.365 MB / 330.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003662/0.01061, allocations: 1.658 MB / 332.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005936/0.0112, allocations: 62.56 kB / 332.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006891/0.01189, allocations: 324 kB / 332.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.01308, allocations: 394.8 kB / 332.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.01382, allocations: 362 kB / 333.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002156/0.01598, allocations: 2.081 MB / 335.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.0181, allocations: 1.544 MB / 336.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.0202, allocations: 1.605 MB / 338.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.02182, allocations: 1.022 MB / 339.5 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004297/0.02225, allocations: 308 kB / 339.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000865/0.02311, allocations: 455.6 kB / 340.2 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007755/0.02389, allocations: 0.744 MB / 340.9 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.02506, allocations: 0.8693 MB / 341.8 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.02919, allocations: 3.848 MB / 345.7 MB, free: 460 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.0292, allocations: 8 kB / 345.7 MB, free: 452 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.0292, allocations: 0 / 345.7 MB, free: 452 kB / 302.1 MB Notification: Performance of Transformations before backend: time 5.22e-05/0.02925, allocations: 0 / 345.7 MB, free: 452 kB / 302.1 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.004806/0.03406, allocations: 2.427 MB / 348.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.0341, allocations: 12.03 kB / 348.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000896/0.03499, allocations: 283.4 kB / 348.4 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.03726, allocations: 1.273 MB / 349.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.03743, allocations: 164.9 kB / 349.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003485/0.03777, allocations: 220.4 kB / 350 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00495/0.04273, allocations: 2.614 MB / 352.6 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.04277, allocations: 3.938 kB / 352.6 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000207/0.04297, allocations: 92 kB / 352.7 MB, free: 9.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.519e-05/0.04305, allocations: 56 kB / 352.8 MB, free: 9.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0038/0.04685, allocations: 2.149 MB / 354.9 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.05832, allocations: 6.391 MB / 361.3 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.05948, allocations: 0.7 MB / 362 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.06063, allocations: 0.5911 MB / 362.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.06067, allocations: 4.5 kB / 362.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.06071, allocations: 39.06 kB / 362.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 2.645e-06/0.06071, allocations: 3.938 kB / 362.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004599/0.06531, allocations: 2.379 MB / 365.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.06539, allocations: 63.94 kB / 365.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.06657, allocations: 0.7892 MB / 365.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.06663, allocations: 41.61 kB / 365.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007573/0.06738, allocations: 0.9441 MB / 366.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.0676, allocations: 234 kB / 367.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.06784, allocations: 142.6 kB / 367.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002693/0.06811, allocations: 398.7 kB / 367.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/0.06873, allocations: 365.8 kB / 368 MB, free: 9.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008078/0.06954, allocations: 0.5751 MB / 368.6 MB, free: 8.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.07104, allocations: 0.9912 MB / 369.6 MB, free: 7.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.07105, allocations: 4 kB / 369.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002069/0.07312, allocations: 1.15 MB / 370.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.07314, allocations: 8 kB / 370.7 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.07316, allocations: 8 kB / 370.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/0.07347, allocations: 100.8 kB / 370.8 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.07419, allocations: 175.7 kB / 371 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.07683, allocations: 2.176 MB / 373.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.0774, allocations: 43.91 kB / 373.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.233e-05/0.07748, allocations: 32 kB / 373.3 MB, free: 4.047 MB / 334.1 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.001162/0.07865, allocations: 0.6566 MB / 373.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.07884, allocations: 83.73 kB / 374 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.07906, allocations: 103.5 kB / 374.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.097e-05/0.07909, allocations: 15.92 kB / 374.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.137e-05/0.07911, allocations: 0 / 374.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.07912, allocations: 7.922 kB / 374.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00423/0.08335, allocations: 2.224 MB / 376.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.08336, allocations: 3.984 kB / 376.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.08386, allocations: 99.88 kB / 376.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00027/0.08413, allocations: 104.9 kB / 376.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.08418, allocations: 23.97 kB / 376.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/0.08655, allocations: 2.113 MB / 378.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.08656, allocations: 4.031 kB / 378.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/0.08906, allocations: 1.415 MB / 380.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.08945, allocations: 151.5 kB / 380.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.08955, allocations: 16 kB / 380.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.08999, allocations: 44.02 kB / 380.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.09014, allocations: 52.34 kB / 380.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.09019, allocations: 16 kB / 380.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008307/0.09102, allocations: 0.5497 MB / 380.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09102, allocations: 0 / 380.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001106/0.09213, allocations: 303.9 kB / 381.2 MB, free: 11.87 MB / 350.1 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.0002886/0.09242, allocations: 131.1 kB / 381.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.09424, allocations: 0.9766 MB / 382.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.09425, allocations: 3.938 kB / 382.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009691/0.09522, allocations: 0.5326 MB / 382.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.09638, allocations: 223 kB / 383.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/0.102, allocations: 3.217 MB / 386.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/0.1035, allocations: 1.148 MB / 387.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005997/0.1041, allocations: 210.9 kB / 387.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.1043, allocations: 56.5 kB / 387.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1043, allocations: 0 / 387.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of Templates: time 0.02549/0.1298, allocations: 12.21 MB / 399.9 MB, free: 9.262 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.732427079230547]