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.0009409/0.0009409, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001521/0.001521, allocations: 173 kB / 25.61 MB, free: 8.457 MB / 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.8989/0.8989, allocations: 177.1 MB / 206 MB, free: 4.512 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.1376/0.1376, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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 1.343e-06/1.343e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.738e-05, allocations: 2.312 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.001504/0.001521, allocations: 0.9192 MB / 380.2 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004391/0.005913, allocations: 1.443 MB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.005957, allocations: 8 kB / 381.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.486e-05/0.006002, allocations: 11.86 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006226/0.006624, allocations: 327.1 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.787e-06/0.006628, allocations: 0 / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.006728, allocations: 119.5 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.006769, allocations: 9.812 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.6e-05/0.006825, allocations: 75.69 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01804/0.02486, allocations: 10.79 MB / 393 MB, free: 9.656 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.02492, allocations: 4 kB / 393 MB, free: 9.652 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.02513, allocations: 103.8 kB / 393.1 MB, free: 9.551 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.02524, allocations: 223.2 kB / 393.3 MB, free: 9.332 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.02529, allocations: 79.41 kB / 393.4 MB, free: 9.254 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.02557, allocations: 422.3 kB / 393.8 MB, free: 8.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.02558, allocations: 8 kB / 393.8 MB, free: 8.832 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.02558, allocations: 3.938 kB / 393.8 MB, free: 8.828 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.02558, allocations: 0 / 393.8 MB, free: 8.828 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.003614/0.0292, allocations: 1.026 MB / 394.8 MB, free: 7.762 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.02923, allocations: 8.031 kB / 394.9 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.02931, allocations: 96.31 kB / 395 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.02947, allocations: 332.8 kB / 395.3 MB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.02949, allocations: 8.359 kB / 395.3 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.0295, allocations: 16.34 kB / 395.3 MB, free: 7.281 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.02973, allocations: 380.2 kB / 395.7 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.02973, allocations: 192 / 395.7 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.02975, allocations: 12.36 kB / 395.7 MB, free: 6.797 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000166/0.02991, allocations: 171.8 kB / 395.9 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.02999, allocations: 83.64 kB / 395.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.03055, allocations: 0.6 MB / 396.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.0308, allocations: 0.6746 MB / 397.2 MB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.03092, allocations: 256.4 kB / 397.5 MB, free: 4.496 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.03093, allocations: 16 kB / 397.5 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.03096, allocations: 73.84 kB / 397.5 MB, free: 4.398 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 1.503e-06/0.03096, allocations: 0 / 397.5 MB, free: 4.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=96): time 0.0004956/0.03146, allocations: 491.5 kB / 398 MB, free: 3.914 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.703e-05/0.03156, allocations: 0.6547 MB / 398.7 MB, free: 3.105 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003428/0.03499, allocations: 0.7569 MB / 399.4 MB, free: 2.332 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.035, allocations: 33.69 kB / 399.5 MB, free: 2.293 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.03516, allocations: 397.4 kB / 399.9 MB, free: 1.898 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.0353, allocations: 337 kB / 400.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/0.03537, allocations: 107.2 kB / 400.3 MB, free: 1.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.03543, allocations: 0.5198 MB / 400.8 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.882e-05/0.03548, allocations: 40.98 kB / 400.9 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.0356, allocations: 302.3 kB / 401.1 MB, free: 500 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.03581, allocations: 416 kB / 401.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.03581, allocations: 0 / 401.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0003319/0.03614, allocations: 400.3 kB / 401.9 MB, free: 15.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.03615, allocations: 8 kB / 402 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.03616, allocations: 4 kB / 402 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.03617, allocations: 8.75 kB / 402 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.53e-06/0.03618, allocations: 11.94 kB / 402 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.03619, allocations: 15.98 kB / 402 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.217e-05/0.03626, allocations: 47.48 kB / 402 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.03629, allocations: 31.98 kB / 402.1 MB, free: 15.46 MB / 330.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.0001072/0.03639, allocations: 180.4 kB / 402.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.03647, allocations: 107.3 kB / 402.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.03652, allocations: 65.77 kB / 402.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001945/0.03672, allocations: 171.9 kB / 402.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.03673, allocations: 12 kB / 402.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.609e-06/0.03674, allocations: 11.92 kB / 402.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005056/0.03724, allocations: 440.5 kB / 403 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.03725, allocations: 4 kB / 403 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-06/0.03725, allocations: 11.94 kB / 403.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.03726, allocations: 4 kB / 403.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.03727, allocations: 19.97 kB / 403.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.03727, allocations: 8 kB / 403.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.03728, allocations: 11.94 kB / 403.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.03922, allocations: 0.6234 MB / 403.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.03927, allocations: 99.14 kB / 403.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.0393, allocations: 11.98 kB / 403.8 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.413e-05/0.03935, allocations: 11.97 kB / 403.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.03938, allocations: 43.84 kB / 403.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.03941, allocations: 35.91 kB / 403.9 MB, free: 13.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002286/0.03964, allocations: 430.8 kB / 404.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03964, allocations: 0 / 404.3 MB, free: 13.03 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002757/0.03991, allocations: 55.91 kB / 404.4 MB, free: 12.97 MB / 330.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.0001558/0.04007, allocations: 127.1 kB / 404.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.04029, allocations: 248.1 kB / 404.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.04029, allocations: 0 / 404.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.0404, allocations: 144.2 kB / 404.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.04065, allocations: 47.45 kB / 404.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009866/0.04163, allocations: 1.395 MB / 406.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.04176, allocations: 237.4 kB / 406.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.04189, allocations: 77.08 kB / 406.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/0.04199, allocations: 118.2 kB / 406.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of SimCode: time 6.82e-07/0.04199, allocations: 0 / 406.8 MB, free: 10.43 MB / 330.7 MB Notification: Performance of Templates: time 0.00453/0.04652, allocations: 2.355 MB / 409.1 MB, free: 8.098 MB / 330.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.9073997610248625]