Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.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.001344/0.001344, allocations: 84.25 kB / 22.22 MB, free: 2.281 MB / 18.57 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.001459/0.001459, allocations: 165.3 kB / 25.61 MB, free: 8.898 MB / 18.57 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.002/1.002, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1514/0.1514, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction") translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.421e-05, allocations: 3.297 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.004628/0.004662, allocations: 3.821 MB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002724/0.007386, allocations: 1.25 MB / 385.1 MB, free: 17.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007202/0.008106, allocations: 31.75 kB / 385.1 MB, free: 17.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.008443, allocations: 118.7 kB / 385.2 MB, free: 17.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00067/0.009113, allocations: 182.4 kB / 385.4 MB, free: 17.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008681/0.009981, allocations: 411.2 kB / 385.8 MB, free: 16.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009222/0.0109, allocations: 0.8539 MB / 386.7 MB, free: 16.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.01128, allocations: 201.6 kB / 386.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000708/0.01199, allocations: 466.8 kB / 387.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.01235, allocations: 239.1 kB / 387.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.933e-05/0.01244, allocations: 68 kB / 387.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.01256, allocations: 75.98 kB / 387.7 MB, free: 15.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.96e-05/0.01265, allocations: 163.3 kB / 387.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.01283, allocations: 219.3 kB / 388.1 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007307/0.01356, allocations: 0.5445 MB / 388.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.01356, allocations: 4 kB / 388.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01356, allocations: 0 / 388.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.01357, allocations: 0 / 388.6 MB, free: 14.1 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.001309/0.01488, allocations: 1.087 MB / 389.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.01492, allocations: 12.03 kB / 389.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.0152, allocations: 148.3 kB / 389.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.01577, allocations: 494.7 kB / 390.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.01582, allocations: 53.56 kB / 390.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.01589, allocations: 68.31 kB / 390.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.01645, allocations: 0.5938 MB / 391 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.01648, allocations: 3.938 kB / 391 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.01652, allocations: 24 kB / 391.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.01653, allocations: 12 kB / 391.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.01677, allocations: 176 kB / 391.3 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.01912, allocations: 3.384 MB / 394.6 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.01949, allocations: 254.8 kB / 394.9 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.01958, allocations: 71.34 kB / 395 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.01961, allocations: 11.98 kB / 395 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.01963, allocations: 45.38 kB / 395 MB, free: 7.328 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 2.424e-06/0.01963, allocations: 0 / 395 MB, free: 7.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.000474/0.02011, allocations: 297.7 kB / 395.3 MB, free: 7.031 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.02014, allocations: 136.5 kB / 395.4 MB, free: 6.867 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.02048, allocations: 0.5577 MB / 396 MB, free: 6.293 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.0205, allocations: 37.7 kB / 396 MB, free: 6.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.02067, allocations: 435.3 kB / 396.5 MB, free: 5.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.02075, allocations: 162.7 kB / 396.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.02087, allocations: 123.9 kB / 396.7 MB, free: 5.531 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.02097, allocations: 0.5545 MB / 397.3 MB, free: 4.965 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.02108, allocations: 70.25 kB / 397.4 MB, free: 4.895 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.02128, allocations: 428.8 kB / 397.8 MB, free: 4.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.02162, allocations: 465.7 kB / 398.2 MB, free: 3.746 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/0.02163, allocations: 8 kB / 398.2 MB, free: 3.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0005452/0.02217, allocations: 452.8 kB / 398.7 MB, free: 3.289 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.02219, allocations: 8 kB / 398.7 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.0222, allocations: 8 kB / 398.7 MB, free: 3.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.02222, allocations: 19.88 kB / 398.7 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.02257, allocations: 131.8 kB / 398.8 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.02258, allocations: 15.94 kB / 398.9 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.02284, allocations: 79.81 kB / 398.9 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.02287, allocations: 20 kB / 399 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001736/0.02304, allocations: 200.1 kB / 399.2 MB, free: 2.812 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001837/0.02322, allocations: 431.5 kB / 399.6 MB, free: 2.246 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003042/0.02353, allocations: 462.3 kB / 400 MB, free: 1.668 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.02353, allocations: 0 / 400 MB, free: 1.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.0005093/0.02404, allocations: 468.9 kB / 400.5 MB, free: 1.203 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.02405, allocations: 12.19 kB / 400.5 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.02406, allocations: 8 kB / 400.5 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.02407, allocations: 12 kB / 400.5 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.02438, allocations: 131.8 kB / 400.6 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.02439, allocations: 8 kB / 400.7 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.02463, allocations: 63.67 kB / 400.7 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.02465, allocations: 20 kB / 400.7 MB, free: 0.9531 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 (Asec.local_reset,Vsec.local_reset,Wsec.local_reset,PID1.I.local_reset,PID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.02477, allocations: 314 kB / 401 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.02487, allocations: 79.58 kB / 401.1 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.46e-05/0.02496, allocations: 74.17 kB / 401.2 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.02496, allocations: 4 kB / 401.2 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.02497, allocations: 0 / 401.2 MB, free: 492 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.02497, allocations: 3.984 kB / 401.2 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.02538, allocations: 336.6 kB / 401.5 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.02539, allocations: 4 kB / 401.5 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.02568, allocations: 79.89 kB / 401.6 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.02568, allocations: 0 / 401.6 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.02571, allocations: 12 kB / 401.6 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.02571, allocations: 8 kB / 401.6 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02571, allocations: 0 / 401.6 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006273/0.02634, allocations: 0.6015 MB / 402.2 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.02648, allocations: 99.45 kB / 402.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.02654, allocations: 12 kB / 402.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.02677, allocations: 19.98 kB / 402.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.02684, allocations: 27.94 kB / 402.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.02686, allocations: 19.94 kB / 402.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002486/0.02711, allocations: 346.9 kB / 402.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02711, allocations: 0 / 402.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007421/0.02785, allocations: 243.4 kB / 403 MB, free: 14.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (Wsec.y,Vsec.y,Asec.y,integrator.y,inertia.phi,inertia.w,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,PI.x,PID.I.y,PID.D.x,PID1.I.y,PID1.D.x) * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.02799, allocations: 107.1 kB / 403.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007262/0.02872, allocations: 455.6 kB / 403.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.02872, allocations: 0 / 403.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.02889, allocations: 116.4 kB / 403.6 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007581/0.02964, allocations: 190.1 kB / 403.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.03178, allocations: 1.247 MB / 405.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.03191, allocations: 142.5 kB / 405.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003257/0.03223, allocations: 80.8 kB / 405.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.03256, allocations: 202.1 kB / 405.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.03256, allocations: 0 / 405.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of Templates: time 0.01426/0.04683, allocations: 7.483 MB / 413 MB, free: 4.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/UnitDeduction/UnitDeduction.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.546400286257267]