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.001293/0.001293, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001611/0.001611, allocations: 162.7 kB / 24.91 MB, free: 8.73 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 0.9792/0.9792, allocations: 177 MB / 205.2 MB, free: 5.461 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.2528/0.2528, allocations: 34.86 MB / 296.6 MB, free: 0.5195 MB / 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.303e-06/1.303e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.286e-05, allocations: 6.312 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.003806/0.003819, allocations: 3.823 MB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.006104, allocations: 1.309 MB / 331 MB, free: 2.012 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.006457, allocations: 31.75 kB / 331.1 MB, free: 1.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.006709, allocations: 114.7 kB / 331.2 MB, free: 1.867 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00042/0.007129, allocations: 182.4 kB / 331.4 MB, free: 1.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006156/0.007745, allocations: 411.2 kB / 331.8 MB, free: 1.285 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006988/0.008444, allocations: 0.85 MB / 332.6 MB, free: 440 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.008747, allocations: 211.6 kB / 332.8 MB, free: 208 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005377/0.009284, allocations: 470.8 kB / 333.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.009522, allocations: 235.1 kB / 333.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.801e-05/0.00959, allocations: 68 kB / 333.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.027e-05/0.009671, allocations: 72 kB / 333.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.009753, allocations: 167.3 kB / 333.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.01014, allocations: 223.3 kB / 334 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.0106, allocations: 0.5406 MB / 334.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.0106, allocations: 0 / 334.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.0106, allocations: 4 kB / 334.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.01061, allocations: 0 / 334.6 MB, free: 14.45 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.0009411/0.01155, allocations: 0.9675 MB / 335.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.01158, allocations: 8.031 kB / 335.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.01174, allocations: 104.8 kB / 335.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.01218, allocations: 437.3 kB / 336.1 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.01221, allocations: 45.69 kB / 336.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.01227, allocations: 64.33 kB / 336.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.01272, allocations: 0.5682 MB / 336.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.01273, allocations: 0 / 336.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.01276, allocations: 24 kB / 336.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.01277, allocations: 12 kB / 336.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.01295, allocations: 156 kB / 336.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.01481, allocations: 2.407 MB / 339.3 MB, free: 9.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.0151, allocations: 217.1 kB / 339.6 MB, free: 9.195 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.913e-05/0.01518, allocations: 69.69 kB / 339.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.01521, allocations: 4 kB / 339.6 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.01523, allocations: 38.56 kB / 339.7 MB, free: 9.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 1.463e-06/0.01523, allocations: 0 / 339.7 MB, free: 9.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003214/0.01555, allocations: 238 kB / 339.9 MB, free: 8.832 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.0156, allocations: 132.5 kB / 340 MB, free: 8.672 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.01588, allocations: 0.5038 MB / 340.5 MB, free: 8.156 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.01591, allocations: 33.7 kB / 340.6 MB, free: 8.117 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.01603, allocations: 305.9 kB / 340.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.01636, allocations: 162.7 kB / 341 MB, free: 7.656 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.847e-05/0.01646, allocations: 118.2 kB / 341.1 MB, free: 7.535 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.01656, allocations: 394.5 kB / 341.5 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.01664, allocations: 63.39 kB / 341.6 MB, free: 7.074 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.01682, allocations: 330.4 kB / 341.9 MB, free: 6.641 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.0171, allocations: 384.7 kB / 342.3 MB, free: 6.172 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.01711, allocations: 4 kB / 342.3 MB, free: 6.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0003474/0.01746, allocations: 365.4 kB / 342.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.01747, allocations: 8 kB / 342.7 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01748, allocations: 8 kB / 342.7 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.01749, allocations: 12 kB / 342.7 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.01775, allocations: 127.8 kB / 342.8 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.01776, allocations: 15.94 kB / 342.8 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.01793, allocations: 75.5 kB / 342.9 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.01796, allocations: 23.94 kB / 342.9 MB, free: 5.539 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001453/0.0181, allocations: 153.8 kB / 343.1 MB, free: 5.387 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001735/0.01828, allocations: 329.3 kB / 343.4 MB, free: 4.953 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002673/0.01854, allocations: 389.2 kB / 343.8 MB, free: 4.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.01854, allocations: 0 / 343.8 MB, free: 4.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.0003329/0.01888, allocations: 368.3 kB / 344.1 MB, free: 4.113 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/0.01888, allocations: 4.875 kB / 344.1 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.01889, allocations: 8 kB / 344.1 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.0189, allocations: 12 kB / 344.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.01914, allocations: 135.8 kB / 344.3 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.01915, allocations: 11.94 kB / 344.3 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.01932, allocations: 63.66 kB / 344.4 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.01934, allocations: 20 kB / 344.4 MB, free: 3.863 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.0001208/0.01946, allocations: 220 kB / 344.6 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.01953, allocations: 51.94 kB / 344.6 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.145e-05/0.0196, allocations: 70.17 kB / 344.7 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.0196, allocations: 4 kB / 344.7 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01961, allocations: 12 kB / 344.7 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01961, allocations: 0 / 344.7 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.01994, allocations: 305.3 kB / 345 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01995, allocations: 0 / 345 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.02018, allocations: 75.91 kB / 345.1 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.02018, allocations: 0 / 345.1 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.0202, allocations: 19.92 kB / 345.1 MB, free: 3.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.0202, allocations: 7.938 kB / 345.1 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0202, allocations: 0 / 345.1 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.02056, allocations: 464 kB / 345.6 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.636e-05/0.02066, allocations: 63.5 kB / 345.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.02069, allocations: 8 kB / 345.6 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.02084, allocations: 23.98 kB / 345.7 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.02089, allocations: 31.94 kB / 345.7 MB, free: 2.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.0209, allocations: 4 kB / 345.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001586/0.02106, allocations: 236.6 kB / 345.9 MB, free: 2.262 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02106, allocations: 0 / 345.9 MB, free: 2.262 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004403/0.0215, allocations: 243.4 kB / 346.2 MB, free: 2.023 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 8.099e-05/0.02158, allocations: 89.86 kB / 346.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000428/0.02201, allocations: 425.1 kB / 346.7 MB, free: 1.512 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/0.02202, allocations: 12 kB / 346.7 MB, free: 1.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.02213, allocations: 102.7 kB / 346.8 MB, free: 1.398 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.0226, allocations: 195 kB / 347 MB, free: 1.223 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.02434, allocations: 1.227 MB / 348.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.827e-05/0.02443, allocations: 138.5 kB / 348.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002151/0.02464, allocations: 80.78 kB / 348.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.02488, allocations: 169.3 kB / 348.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02488, allocations: 0 / 348.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of Templates: time 0.009444/0.03433, allocations: 7.296 MB / 355.9 MB, free: 8.441 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.01848114002496]