Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9162/0.9162, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2599/0.2599, allocations: 34.26 MB / 295.7 MB, free: 0.7539 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Frames.QuaternionFromT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|Q1.[0-9,]+.|Q2.[0-9,]+.|Q3.[0-9,]+.|Q4.[0-9,]+.|Q5.[0-9,]+.|Q6.[0-9,]+.|Q7.[0-9,]+.|Q8.[0-9,]+.|Q9.[0-9,]+.|Q10.[0-9,]+.|Q11.[0-9,]+.|Q12.[0-9,]+.|Q13.[0-9,]+.|Q14.[0-9,]+.|Q15.[0-9,]+.|Q16.[0-9,]+.|Q17.[0-9,]+.|Q18.[0-9,]+.|Q19.[0-9,]+.|Q20.[0-9,]+.|Q21.[0-9,]+.|Q22.[0-9,]+.|Q23.[0-9,]+.|Q24.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT") translateModel(ModelicaTest.MultiBody.Frames.QuaternionFromT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|Q1.[0-9,]+.|Q2.[0-9,]+.|Q3.[0-9,]+.|Q4.[0-9,]+.|Q5.[0-9,]+.|Q6.[0-9,]+.|Q7.[0-9,]+.|Q8.[0-9,]+.|Q9.[0-9,]+.|Q10.[0-9,]+.|Q11.[0-9,]+.|Q12.[0-9,]+.|Q13.[0-9,]+.|Q14.[0-9,]+.|Q15.[0-9,]+.|Q16.[0-9,]+.|Q17.[0-9,]+.|Q18.[0-9,]+.|Q19.[0-9,]+.|Q20.[0-9,]+.|Q21.[0-9,]+.|Q22.[0-9,]+.|Q23.[0-9,]+.|Q24.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.628e-05/3.854e-05, allocations: 6.25 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002225/0.002264, allocations: 0.9352 MB / 379 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.004217, allocations: 1.451 MB / 380.4 MB, free: 228 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-05/0.004278, allocations: 8 kB / 380.5 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.917e-05/0.004347, allocations: 15.86 kB / 380.5 MB, free: 204 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009401/0.005288, allocations: 319.1 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.658e-06/0.005292, allocations: 0 / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.005437, allocations: 119.5 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.005487, allocations: 9.812 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.005575, allocations: 75.7 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01102/0.0166, allocations: 10.78 MB / 391.8 MB, free: 4.891 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.264e-05/0.01668, allocations: 4 kB / 391.8 MB, free: 4.887 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.01695, allocations: 99.84 kB / 391.9 MB, free: 4.789 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.01713, allocations: 231.2 kB / 392.1 MB, free: 4.562 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.0172, allocations: 75.41 kB / 392.2 MB, free: 4.488 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004455/0.01765, allocations: 422.3 kB / 392.6 MB, free: 4.074 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.01765, allocations: 0 / 392.6 MB, free: 4.074 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01766, allocations: 7.938 kB / 392.6 MB, free: 4.066 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.01767, allocations: 0 / 392.6 MB, free: 4.066 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008913/0.01856, allocations: 1.027 MB / 393.6 MB, free: 3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.0186, allocations: 8.031 kB / 393.6 MB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.01872, allocations: 92.31 kB / 393.7 MB, free: 2.902 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.01895, allocations: 332.8 kB / 394 MB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.01897, allocations: 12.36 kB / 394 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.01899, allocations: 8.359 kB / 394.1 MB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.01934, allocations: 400.3 kB / 394.4 MB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.01936, allocations: 192 / 394.4 MB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.01938, allocations: 8.359 kB / 394.5 MB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002134/0.01959, allocations: 171.8 kB / 394.6 MB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.01971, allocations: 99.64 kB / 394.7 MB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/0.02057, allocations: 0.7401 MB / 395.5 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.021, allocations: 0.6902 MB / 396.1 MB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.02118, allocations: 264.4 kB / 396.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.02119, allocations: 12 kB / 396.4 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.02124, allocations: 73.84 kB / 396.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 1.783e-06/0.02124, allocations: 0 / 396.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.000645/0.02188, allocations: 0.5276 MB / 397 MB, free: 14.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002429/0.02213, allocations: 0.6586 MB / 397.7 MB, free: 14.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006561/0.02278, allocations: 0.773 MB / 398.4 MB, free: 13.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.02281, allocations: 33.69 kB / 398.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.02304, allocations: 388.8 kB / 398.9 MB, free: 12.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.02324, allocations: 333 kB / 399.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.02334, allocations: 103.3 kB / 399.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.02349, allocations: 0.5121 MB / 399.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.374e-05/0.02359, allocations: 56.97 kB / 399.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.0238, allocations: 310.4 kB / 400.2 MB, free: 11.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.02418, allocations: 432.1 kB / 400.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.02418, allocations: 4 kB / 400.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004855/0.02467, allocations: 437 kB / 401 MB, free: 10.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.02468, allocations: 15.94 kB / 401 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.02469, allocations: 4 kB / 401 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.02472, allocations: 8 kB / 401 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-06/0.02473, allocations: 7.938 kB / 401 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.02474, allocations: 11.94 kB / 401.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.02486, allocations: 51.55 kB / 401.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.0249, allocations: 28 kB / 401.1 MB, free: 10.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (24): * Single equations (assignments): 0 * Array equations: 24 * 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.0001437/0.02504, allocations: 184.4 kB / 401.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.02515, allocations: 107.3 kB / 401.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.109e-05/0.02522, allocations: 65.77 kB / 401.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002014/0.02542, allocations: 175.9 kB / 401.7 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.02543, allocations: 15.94 kB / 401.7 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.02544, allocations: 7.984 kB / 401.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007584/0.0262, allocations: 0.5547 MB / 402.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.02621, allocations: 4 kB / 402.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-06/0.02621, allocations: 7.938 kB / 402.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.02622, allocations: 8 kB / 402.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.02624, allocations: 19.97 kB / 402.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.02625, allocations: 8 kB / 402.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.02626, allocations: 11.94 kB / 402.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.02683, allocations: 0.647 MB / 402.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.0269, allocations: 107.1 kB / 403 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.02694, allocations: 15.97 kB / 403.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.02703, allocations: 7.984 kB / 403.1 MB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.02708, allocations: 39.78 kB / 403.1 MB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.02712, allocations: 35.97 kB / 403.1 MB, free: 8.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003744/0.02749, allocations: 459 kB / 403.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.02749, allocations: 0 / 403.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004035/0.02789, allocations: 51.97 kB / 403.6 MB, free: 7.707 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 simulation (24): * Single equations (assignments): 0 * Array equations: 24 * 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.0002248/0.02812, allocations: 127.1 kB / 403.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.02845, allocations: 265.4 kB / 404 MB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02846, allocations: 0 / 404 MB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.02861, allocations: 166 kB / 404.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.02898, allocations: 43.22 kB / 404.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.03031, allocations: 1.409 MB / 405.6 MB, free: 5.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.03049, allocations: 230.8 kB / 405.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.03067, allocations: 81.08 kB / 405.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.03076, allocations: 40.48 kB / 406 MB, free: 5.195 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.03077, allocations: 0 / 406 MB, free: 5.195 MB / 378.7 MB Notification: Performance of Templates: time 0.005844/0.03661, allocations: 2.266 MB / 408.2 MB, free: 2.949 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.QuaternionFromT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Frames/QuaternionFromT/QuaternionFromT.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: 2.9485407709144056]