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.002012/0.002012, allocations: 88.98 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002239/0.002239, allocations: 158.4 kB / 23.95 MB, free: 4.152 MB / 14.72 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.633/1.633, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.2..i|inductor.inductor.3..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.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.372e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.00767/0.007694, allocations: 5.372 MB / 330.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004213/0.01191, allocations: 1.656 MB / 332 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006428/0.01255, allocations: 70.16 kB / 332.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007067/0.01326, allocations: 326.1 kB / 332.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.01464, allocations: 399.9 kB / 332.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.01547, allocations: 362 kB / 333.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00271/0.01818, allocations: 2.098 MB / 335.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002481/0.02066, allocations: 1.545 MB / 336.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.02338, allocations: 1.599 MB / 338.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.02503, allocations: 1.024 MB / 339.4 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004203/0.02545, allocations: 308 kB / 339.7 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008754/0.02633, allocations: 455.6 kB / 340.2 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007983/0.02713, allocations: 0.7558 MB / 340.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.0284, allocations: 0.8693 MB / 341.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004545/0.03294, allocations: 3.86 MB / 345.7 MB, free: 328 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.03295, allocations: 4 kB / 345.7 MB, free: 324 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.03295, allocations: 0 / 345.7 MB, free: 324 kB / 302.1 MB Notification: Performance of Transformations before backend: time 7.221e-05/0.03302, allocations: 0 / 345.7 MB, free: 324 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005043/0.03806, allocations: 2.438 MB / 348.1 MB, free: 13.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.03811, allocations: 11.98 kB / 348.1 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009/0.03901, allocations: 279.4 kB / 348.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.04133, allocations: 1.273 MB / 349.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.04148, allocations: 168.9 kB / 349.8 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003372/0.04182, allocations: 220.4 kB / 350 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004731/0.04655, allocations: 2.629 MB / 352.7 MB, free: 9.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/0.04659, allocations: 7.938 kB / 352.7 MB, free: 9.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/0.04681, allocations: 92 kB / 352.8 MB, free: 9.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.04692, allocations: 88.47 kB / 352.9 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003812/0.05073, allocations: 2.145 MB / 355 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.06192, allocations: 6.434 MB / 361.4 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.06305, allocations: 0.7039 MB / 362.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.06419, allocations: 0.5872 MB / 362.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.06423, allocations: 4.5 kB / 362.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.06428, allocations: 43.06 kB / 362.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 2.645e-06/0.06428, allocations: 4 kB / 362.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004432/0.06872, allocations: 2.383 MB / 365.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.06877, allocations: 60.06 kB / 365.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.06987, allocations: 0.7892 MB / 366 MB, free: 11.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.06993, allocations: 37.7 kB / 366 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007361/0.07066, allocations: 0.9519 MB / 367 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.07086, allocations: 230 kB / 367.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.0711, allocations: 150.6 kB / 367.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.07133, allocations: 390.7 kB / 367.7 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/0.07195, allocations: 369.7 kB / 368.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008163/0.07276, allocations: 0.5829 MB / 368.7 MB, free: 8.691 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.07425, allocations: 0.9833 MB / 369.7 MB, free: 7.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.07425, allocations: 4 kB / 369.7 MB, free: 7.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001962/0.07621, allocations: 1.146 MB / 370.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.07623, allocations: 8 kB / 370.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.07625, allocations: 8 kB / 370.8 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.07657, allocations: 116.7 kB / 371 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/0.07728, allocations: 175.8 kB / 371.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.07975, allocations: 2.168 MB / 373.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.08023, allocations: 44.03 kB / 373.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.0803, allocations: 32 kB / 373.4 MB, free: 3.805 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.001036/0.08134, allocations: 0.6536 MB / 374 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.08151, allocations: 87.44 kB / 374.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.08172, allocations: 103.4 kB / 374.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/0.08175, allocations: 8 kB / 374.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.08176, allocations: 7.938 kB / 374.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.08177, allocations: 3.984 kB / 374.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.08578, allocations: 2.225 MB / 376.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.08578, allocations: 0 / 376.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/0.08627, allocations: 112 kB / 376.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/0.08652, allocations: 100.9 kB / 376.7 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.08657, allocations: 15.98 kB / 376.7 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/0.08887, allocations: 2.113 MB / 378.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.08888, allocations: 0 / 378.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.09112, allocations: 1.419 MB / 380.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.09145, allocations: 147.6 kB / 380.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.09155, allocations: 24 kB / 380.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.09199, allocations: 43.89 kB / 380.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.09212, allocations: 44.41 kB / 380.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.09218, allocations: 28 kB / 380.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007655/0.09294, allocations: 0.5419 MB / 381 MB, free: 11.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09294, allocations: 4 kB / 381 MB, free: 11.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001085/0.09403, allocations: 303.9 kB / 381.3 MB, free: 11.63 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.0002982/0.09433, allocations: 139 kB / 381.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.09612, allocations: 0.9721 MB / 382.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.09612, allocations: 0 / 382.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009565/0.09708, allocations: 0.5323 MB / 383 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.09823, allocations: 219.8 kB / 383.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005824/0.104, allocations: 3.228 MB / 386.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/0.1055, allocations: 1.156 MB / 387.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006313/0.1061, allocations: 202.9 kB / 387.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.1063, allocations: 64.48 kB / 387.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1063, allocations: 0 / 387.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of Templates: time 0.02723/0.1335, allocations: 12.18 MB / 400 MB, free: 9.02 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.965687803924084]