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.001004/0.001004, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001143/0.001143, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.128/1.128, allocations: 177 MB / 205.2 MB, free: 5.047 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.2829/0.2829, allocations: 34.86 MB / 296.6 MB, free: 396 kB / 266.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 1.793e-06/1.793e-06, allocations: 0 / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.66e-05, allocations: 6.312 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.007003/0.007029, allocations: 3.869 MB / 329.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003978/0.01101, allocations: 1.301 MB / 331.1 MB, free: 1.898 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006646/0.01167, allocations: 31.75 kB / 331.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.01201, allocations: 122.7 kB / 331.3 MB, free: 1.746 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005935/0.0126, allocations: 178.3 kB / 331.5 MB, free: 1.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.01335, allocations: 407.3 kB / 331.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009147/0.01427, allocations: 0.85 MB / 332.7 MB, free: 324 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.01464, allocations: 212.4 kB / 332.9 MB, free: 92 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006464/0.01529, allocations: 470.8 kB / 333.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.01561, allocations: 239.1 kB / 333.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.845e-05/0.01569, allocations: 68 kB / 333.7 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.0158, allocations: 72 kB / 333.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.01589, allocations: 167.3 kB / 333.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.01605, allocations: 223.3 kB / 334.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.0167, allocations: 0.5367 MB / 334.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.0167, allocations: 0 / 334.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01671, allocations: 0 / 334.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.01672, allocations: 4 kB / 334.7 MB, free: 14.33 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.001111/0.01783, allocations: 0.9636 MB / 335.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.01786, allocations: 16.02 kB / 335.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.01806, allocations: 108.8 kB / 335.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.01857, allocations: 425.4 kB / 336.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.01861, allocations: 37.69 kB / 336.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/0.01867, allocations: 68.31 kB / 336.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.01919, allocations: 0.5682 MB / 336.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.0192, allocations: 3.938 kB / 336.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.01923, allocations: 24 kB / 336.9 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.01925, allocations: 16 kB / 336.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.01945, allocations: 156 kB / 337 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.02164, allocations: 2.41 MB / 339.4 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.02201, allocations: 209.2 kB / 339.6 MB, free: 9.086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.193e-05/0.02209, allocations: 65.64 kB / 339.7 MB, free: 9.016 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.02213, allocations: 8 kB / 339.7 MB, free: 9.008 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.02216, allocations: 42.55 kB / 339.8 MB, free: 8.957 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 3.477e-06/0.02217, allocations: 0 / 339.8 MB, free: 8.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003797/0.02254, allocations: 238 kB / 340 MB, free: 8.719 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.0226, allocations: 136.5 kB / 340.1 MB, free: 8.555 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.02292, allocations: 0.4998 MB / 340.6 MB, free: 8.043 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.02295, allocations: 33.7 kB / 340.7 MB, free: 8.004 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.02309, allocations: 309.9 kB / 341 MB, free: 7.699 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.02317, allocations: 158.6 kB / 341.1 MB, free: 7.543 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.02329, allocations: 126.2 kB / 341.2 MB, free: 7.414 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.02341, allocations: 382.6 kB / 341.6 MB, free: 7.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.677e-05/0.02351, allocations: 63.45 kB / 341.7 MB, free: 6.965 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.02371, allocations: 334.3 kB / 342 MB, free: 6.527 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.02403, allocations: 392.7 kB / 342.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.02403, allocations: 0 / 342.4 MB, free: 6.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0004029/0.02443, allocations: 360.8 kB / 342.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.02445, allocations: 8 kB / 342.7 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.02446, allocations: 8 kB / 342.7 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.02448, allocations: 8.719 kB / 342.8 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.0248, allocations: 143.8 kB / 342.9 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.02482, allocations: 20.31 kB / 342.9 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.02502, allocations: 67.58 kB / 343 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.02504, allocations: 27.92 kB / 343 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001512/0.0252, allocations: 145.4 kB / 343.2 MB, free: 5.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001973/0.02539, allocations: 337.3 kB / 343.5 MB, free: 4.828 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002944/0.02569, allocations: 377.4 kB / 343.8 MB, free: 4.367 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.659e-06/0.02569, allocations: 8 kB / 343.9 MB, free: 4.359 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.0003769/0.02607, allocations: 364.9 kB / 344.2 MB, free: 3.996 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.02608, allocations: 8 kB / 344.2 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.02608, allocations: 4 kB / 344.2 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.02609, allocations: 15.98 kB / 344.2 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.02637, allocations: 135.8 kB / 344.4 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.02637, allocations: 11.98 kB / 344.4 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.02655, allocations: 60 kB / 344.4 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.02658, allocations: 28 kB / 344.5 MB, free: 3.738 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.0001365/0.02671, allocations: 225.7 kB / 344.7 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.02678, allocations: 51.95 kB / 344.7 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.453e-05/0.02686, allocations: 70.17 kB / 344.8 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.02686, allocations: 4 kB / 344.8 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.02687, allocations: 0 / 344.8 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.02687, allocations: 7.984 kB / 344.8 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.02725, allocations: 301.3 kB / 345.1 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.02725, allocations: 0 / 345.1 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.02751, allocations: 87.89 kB / 345.2 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.02751, allocations: 0 / 345.2 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.02753, allocations: 15.92 kB / 345.2 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.02754, allocations: 4 kB / 345.2 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.02754, allocations: 3.984 kB / 345.2 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.02795, allocations: 467.7 kB / 345.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.02806, allocations: 67.5 kB / 345.7 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.0281, allocations: 8 kB / 345.8 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.02826, allocations: 27.98 kB / 345.8 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.02832, allocations: 31.94 kB / 345.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.02834, allocations: 4 kB / 345.8 MB, free: 2.348 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.0285, allocations: 232.6 kB / 346 MB, free: 2.125 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0285, allocations: 0 / 346 MB, free: 2.125 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005105/0.02901, allocations: 239.4 kB / 346.3 MB, free: 1.891 MB / 314.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.0001079/0.02912, allocations: 93.84 kB / 346.4 MB, free: 1.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004866/0.02961, allocations: 430.8 kB / 346.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/0.02962, allocations: 8 kB / 346.8 MB, free: 1.363 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.02973, allocations: 96.97 kB / 346.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.03025, allocations: 197.7 kB / 347.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.03194, allocations: 1.234 MB / 348.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.723e-05/0.03204, allocations: 142.5 kB / 348.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002486/0.03228, allocations: 76.8 kB / 348.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.03256, allocations: 173.3 kB / 348.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.783e-06/0.03256, allocations: 0 / 348.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of Templates: time 0.01091/0.04347, allocations: 7.287 MB / 356 MB, free: 8.305 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 -s gbode -gbm=radauIIA3 -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.15849965903908]