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.001029/0.001029, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009676/0.0009676, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9917/0.9917, allocations: 177 MB / 204.8 MB, free: 5.57 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.2995/0.2995, allocations: 34.87 MB / 296.3 MB, free: 476 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.393e-06/1.393e-06, allocations: 0 / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.233e-05, allocations: 2.312 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.004285/0.004307, allocations: 3.873 MB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.006258, allocations: 1.254 MB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.006609, allocations: 31.75 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.006885, allocations: 114.7 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.007338, allocations: 186.4 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.007913, allocations: 399.3 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000693/0.008606, allocations: 0.8578 MB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.008969, allocations: 197.6 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004898/0.009458, allocations: 478.7 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.009736, allocations: 239.1 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.472e-05/0.00981, allocations: 68 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.326e-05/0.009904, allocations: 68 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.998e-05/0.009994, allocations: 159.3 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.01015, allocations: 231.3 kB / 386.9 MB, free: 9.871 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.01073, allocations: 0.5329 MB / 387.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.01073, allocations: 0 / 387.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01073, allocations: 0 / 387.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.01074, allocations: 0 / 387.4 MB, free: 9.336 MB / 362.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.001137/0.01188, allocations: 1.087 MB / 388.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.01191, allocations: 12.03 kB / 388.5 MB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.01211, allocations: 144.4 kB / 388.7 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.01263, allocations: 0.4947 MB / 389.1 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.01267, allocations: 45.69 kB / 389.2 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.01274, allocations: 64.36 kB / 389.3 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/0.01332, allocations: 0.6394 MB / 389.9 MB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.01334, allocations: 0 / 389.9 MB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.01337, allocations: 24 kB / 389.9 MB, free: 6.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.01339, allocations: 15.94 kB / 389.9 MB, free: 6.645 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.01369, allocations: 207.6 kB / 390.1 MB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.01608, allocations: 3.353 MB / 393.5 MB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.0165, allocations: 274.8 kB / 393.8 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.01662, allocations: 87.33 kB / 393.8 MB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.01666, allocations: 8 kB / 393.9 MB, free: 2.555 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.01669, allocations: 37.39 kB / 393.9 MB, free: 2.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.174e-06/0.01669, allocations: 0 / 393.9 MB, free: 2.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.0005345/0.01722, allocations: 345.6 kB / 394.2 MB, free: 2.164 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.01728, allocations: 136.5 kB / 394.4 MB, free: 2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.01772, allocations: 0.5658 MB / 394.9 MB, free: 1.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.01775, allocations: 37.7 kB / 395 MB, free: 1.379 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.01798, allocations: 427.4 kB / 395.4 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.353e-05/0.01807, allocations: 162.7 kB / 395.5 MB, free: 0.793 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.01819, allocations: 116 kB / 395.6 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.01841, allocations: 0.5508 MB / 396.2 MB, free: 112 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.01856, allocations: 86.27 kB / 396.3 MB, free: 24 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.01889, allocations: 444.9 kB / 396.7 MB, free: 15.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.01933, allocations: 497.7 kB / 397.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.01934, allocations: 0 / 397.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0005588/0.0199, allocations: 496.4 kB / 397.7 MB, free: 14.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01991, allocations: 11.94 kB / 397.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.01992, allocations: 4.812 kB / 397.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.01994, allocations: 12 kB / 397.7 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.02022, allocations: 131.8 kB / 397.8 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.02024, allocations: 15.94 kB / 397.9 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.02043, allocations: 75.44 kB / 397.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.02046, allocations: 28 kB / 398 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002056/0.02066, allocations: 220.1 kB / 398.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002914/0.02095, allocations: 447.8 kB / 398.6 MB, free: 13.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004243/0.02138, allocations: 486.5 kB / 399.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/0.02138, allocations: 8 kB / 399.1 MB, free: 12.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.0005566/0.02194, allocations: 0.4963 MB / 399.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.02195, allocations: 8 kB / 399.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.02195, allocations: 7.984 kB / 399.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.02196, allocations: 12 kB / 399.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.02221, allocations: 127.8 kB / 399.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.02222, allocations: 11.98 kB / 399.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.0224, allocations: 64.11 kB / 399.8 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.02243, allocations: 31.92 kB / 399.9 MB, free: 11.89 MB / 378.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.0001368/0.02257, allocations: 311.8 kB / 400.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.539e-05/0.02265, allocations: 83.58 kB / 400.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.452e-05/0.02273, allocations: 66.17 kB / 400.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.02273, allocations: 4 kB / 400.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.02273, allocations: 0 / 400.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.02274, allocations: 7.984 kB / 400.3 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.02316, allocations: 408.2 kB / 400.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.02316, allocations: 4 kB / 400.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.02341, allocations: 83.89 kB / 400.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.02341, allocations: 0 / 400.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.02343, allocations: 11.98 kB / 400.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.02344, allocations: 8 kB / 400.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.02344, allocations: 3.938 kB / 400.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005575/0.024, allocations: 0.625 MB / 401.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.02412, allocations: 107.3 kB / 401.6 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.02416, allocations: 12 kB / 401.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.02433, allocations: 23.98 kB / 401.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.02439, allocations: 27.94 kB / 401.6 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.02441, allocations: 12 kB / 401.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002458/0.02466, allocations: 367 kB / 402 MB, free: 9.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02466, allocations: 0 / 402 MB, free: 9.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004752/0.02513, allocations: 247.3 kB / 402.2 MB, free: 9.453 MB / 378.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.0001021/0.02523, allocations: 111.2 kB / 402.3 MB, free: 9.332 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006013/0.02583, allocations: 0.4922 MB / 402.8 MB, free: 8.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02584, allocations: 3.938 kB / 402.8 MB, free: 8.828 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.02598, allocations: 119.8 kB / 402.9 MB, free: 8.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.02653, allocations: 176.5 kB / 403.1 MB, free: 8.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.02806, allocations: 1.253 MB / 404.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.022e-05/0.02815, allocations: 142.5 kB / 404.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000196/0.02835, allocations: 80.78 kB / 404.6 MB, free: 7.012 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.743e-05/0.02844, allocations: 40.5 kB / 404.6 MB, free: 6.973 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/0.02845, allocations: 0 / 404.6 MB, free: 6.973 MB / 378.7 MB Notification: Performance of Templates: time 0.008767/0.03721, allocations: 6.729 MB / 411.4 MB, free: 384 kB / 378.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.3762585259974003]