Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.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.001141/0.001141, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.00211/0.00211, allocations: 156.5 kB / 24.55 MB, free: 12 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 1.019/1.019, allocations: 177 MB / 204.8 MB, free: 5.59 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.2836/0.2836, allocations: 34.86 MB / 296.3 MB, free: 492 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.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_trunk_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_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.019e-05, allocations: 3.016 kB / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.002368/0.002398, allocations: 0.919 MB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.005212, allocations: 1.451 MB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.005298, allocations: 8 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 8.355e-05/0.005382, allocations: 15.8 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.006615, allocations: 315.2 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.041e-06/0.006621, allocations: 4 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.006788, allocations: 119.5 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.00684, allocations: 9.797 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.006948, allocations: 79.7 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009515/0.01646, allocations: 10.79 MB / 392.5 MB, free: 4.297 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.0166, allocations: 4 kB / 392.5 MB, free: 4.293 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.01683, allocations: 95.89 kB / 392.6 MB, free: 4.199 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.01697, allocations: 227.2 kB / 392.8 MB, free: 3.977 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.01704, allocations: 75.42 kB / 392.9 MB, free: 3.902 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.01739, allocations: 418.3 kB / 393.3 MB, free: 3.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.01739, allocations: 3.984 kB / 393.3 MB, free: 3.488 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0174, allocations: 0 / 393.3 MB, free: 3.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.0174, allocations: 8 kB / 393.3 MB, free: 3.48 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.0006885/0.01809, allocations: 1.027 MB / 394.3 MB, free: 2.414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.01814, allocations: 8.031 kB / 394.3 MB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.464e-05/0.01823, allocations: 92.31 kB / 394.4 MB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.01843, allocations: 336.8 kB / 394.8 MB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.01845, allocations: 8.359 kB / 394.8 MB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.01847, allocations: 8.359 kB / 394.8 MB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.01875, allocations: 389.3 kB / 395.2 MB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.01876, allocations: 4.188 kB / 395.2 MB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.01877, allocations: 8.359 kB / 395.2 MB, free: 1.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001565/0.01893, allocations: 187.7 kB / 395.3 MB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.893e-05/0.01902, allocations: 99.66 kB / 395.4 MB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.01994, allocations: 0.7285 MB / 396.2 MB, free: 316 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.0203, allocations: 0.6863 MB / 396.9 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.02044, allocations: 264.4 kB / 397.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.02046, allocations: 19.98 kB / 397.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.02049, allocations: 69.86 kB / 397.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.144e-06/0.02049, allocations: 0 / 397.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.0005014/0.021, allocations: 0.5385 MB / 397.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/0.02117, allocations: 0.6547 MB / 398.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.02165, allocations: 0.769 MB / 399.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.02167, allocations: 33.69 kB / 399.2 MB, free: 12.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.02184, allocations: 388.8 kB / 399.6 MB, free: 12.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.02201, allocations: 341.8 kB / 399.9 MB, free: 11.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.02208, allocations: 99.28 kB / 400 MB, free: 11.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.0222, allocations: 0.5121 MB / 400.5 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.02227, allocations: 60.92 kB / 400.6 MB, free: 11.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.02243, allocations: 307.9 kB / 400.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.0227, allocations: 444 kB / 401.3 MB, free: 10.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.02271, allocations: 4 kB / 401.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0003713/0.02308, allocations: 424.4 kB / 401.7 MB, free: 9.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.0231, allocations: 8 kB / 401.7 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.02311, allocations: 4 kB / 401.7 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.02313, allocations: 11.98 kB / 401.8 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-06/0.02313, allocations: 8.688 kB / 401.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.02314, allocations: 11.94 kB / 401.8 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.02322, allocations: 51.56 kB / 401.8 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.02326, allocations: 35.97 kB / 401.9 MB, free: 9.793 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.0001139/0.02337, allocations: 184.4 kB / 402 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/0.02344, allocations: 99.38 kB / 402.1 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.0235, allocations: 65.77 kB / 402.2 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003899/0.02389, allocations: 171.9 kB / 402.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.02389, allocations: 11.94 kB / 402.4 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.0239, allocations: 4 kB / 402.4 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.0244, allocations: 0.5508 MB / 402.9 MB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.0244, allocations: 8 kB / 402.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-06/0.02441, allocations: 15.92 kB / 403 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.02441, allocations: 8 kB / 403 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.02443, allocations: 15.98 kB / 403 MB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.02444, allocations: 15.92 kB / 403 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.02444, allocations: 4 kB / 403 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.02487, allocations: 0.6509 MB / 403.7 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.02493, allocations: 103.1 kB / 403.8 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.02496, allocations: 11.98 kB / 403.8 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.02501, allocations: 7.984 kB / 403.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.02505, allocations: 43.77 kB / 403.8 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.02508, allocations: 39.97 kB / 403.9 MB, free: 7.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002931/0.02537, allocations: 459 kB / 404.3 MB, free: 7.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02537, allocations: 4 kB / 404.3 MB, free: 7.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003059/0.02567, allocations: 51.97 kB / 404.4 MB, free: 7.121 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.0001738/0.02585, allocations: 123 kB / 404.5 MB, free: 6.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.02613, allocations: 276.5 kB / 404.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.02613, allocations: 0 / 404.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.02624, allocations: 159.9 kB / 404.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.02652, allocations: 47.25 kB / 405 MB, free: 6.516 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.02761, allocations: 1.417 MB / 406.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.02775, allocations: 229.6 kB / 406.6 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.02787, allocations: 69.11 kB / 406.7 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.02795, allocations: 44.47 kB / 406.7 MB, free: 4.609 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.02795, allocations: 0 / 406.7 MB, free: 4.609 MB / 378.7 MB Notification: Performance of Templates: time 0.005605/0.03355, allocations: 2.267 MB / 409 MB, free: 2.367 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.989777136594057]