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.0007928/0.0007928, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.001925, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.0007166/0.0007166, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009743/0.001691, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.9852/0.9852, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.089, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.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.299/0.299, allocations: 34.25 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02813/0.3271, allocations: 13.1 MB / 291.5 MB, free: 7.328 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.944e-06/1.944e-06, allocations: 3.938 kB / 292.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.244e-05, allocations: 4.266 kB / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.00205/0.002082, allocations: 0.9993 MB / 293.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.00397, allocations: 1.46 MB / 295.3 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.004035, allocations: 8 kB / 295.3 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.004071, allocations: 19.8 kB / 295.3 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006424/0.004714, allocations: 299.2 kB / 295.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.438e-06/0.004718, allocations: 0 / 295.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.004853, allocations: 135.4 kB / 295.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.004903, allocations: 14.91 kB / 295.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.00503, allocations: 119.5 kB / 295.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006226/0.01126, allocations: 6.365 MB / 302.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.5e-05/0.01133, allocations: 4 kB / 302.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.01161, allocations: 99.89 kB / 302.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.01177, allocations: 243.3 kB / 302.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.01183, allocations: 83.44 kB / 302.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.0122, allocations: 430.1 kB / 303.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.596e-05/0.01221, allocations: 0 / 303.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.01221, allocations: 0 / 303.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.01223, allocations: 4 kB / 303.1 MB, free: 11.91 MB / 298.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.0007406/0.01297, allocations: 0.9571 MB / 304.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.01301, allocations: 12.03 kB / 304.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.01308, allocations: 44.88 kB / 304.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.0133, allocations: 338 kB / 304.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.01331, allocations: 8.359 kB / 304.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.01333, allocations: 8.312 kB / 304.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.01358, allocations: 311.6 kB / 304.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.0136, allocations: 8.109 kB / 304.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.01361, allocations: 4.375 kB / 304.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.01376, allocations: 163.8 kB / 304.9 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.01387, allocations: 171.5 kB / 305.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.01438, allocations: 429.1 kB / 305.5 MB, free: 9.219 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.01467, allocations: 487 kB / 306 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.01478, allocations: 188.8 kB / 306.2 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.0148, allocations: 23.94 kB / 306.2 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.01484, allocations: 67.08 kB / 306.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 1.543e-06/0.01484, allocations: 0 / 306.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=96): time 0.0003914/0.01523, allocations: 396.1 kB / 306.7 MB, free: 7.777 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002/0.01543, allocations: 0.6508 MB / 307.3 MB, free: 6.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.01576, allocations: 0.5429 MB / 307.9 MB, free: 6.418 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.01578, allocations: 33.69 kB / 307.9 MB, free: 6.379 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.01585, allocations: 171.9 kB / 308.1 MB, free: 6.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.01601, allocations: 321.1 kB / 308.4 MB, free: 5.891 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.01607, allocations: 78.31 kB / 308.5 MB, free: 5.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.01616, allocations: 345.8 kB / 308.8 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.298e-05/0.01621, allocations: 55.81 kB / 308.8 MB, free: 5.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.01634, allocations: 222.4 kB / 309.1 MB, free: 5.121 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.01661, allocations: 418.7 kB / 309.5 MB, free: 4.609 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.01662, allocations: 7.938 kB / 309.5 MB, free: 4.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0003027/0.01692, allocations: 376.9 kB / 309.8 MB, free: 4.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01694, allocations: 8 kB / 309.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.01695, allocations: 4 kB / 309.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.01696, allocations: 11.98 kB / 309.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-06/0.01697, allocations: 16.67 kB / 309.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.01698, allocations: 7.938 kB / 309.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.172e-05/0.01707, allocations: 55.5 kB / 309.9 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.01711, allocations: 31.97 kB / 310 MB, free: 4.066 MB / 298.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.0001204/0.01723, allocations: 132.5 kB / 310.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.01733, allocations: 51.94 kB / 310.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.0174, allocations: 69.75 kB / 310.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001423/0.01754, allocations: 163.9 kB / 310.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.01755, allocations: 8 kB / 310.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.01755, allocations: 4 kB / 310.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.01798, allocations: 349.1 kB / 310.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.01798, allocations: 4 kB / 310.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-06/0.01799, allocations: 15.94 kB / 310.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.01805, allocations: 99.17 kB / 310.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.01806, allocations: 8 kB / 310.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.01807, allocations: 11.98 kB / 310.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.01808, allocations: 15.92 kB / 310.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.01808, allocations: 8 kB / 310.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.01845, allocations: 0.509 MB / 311.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.01848, allocations: 15.97 kB / 311.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.281e-05/0.01854, allocations: 7.984 kB / 311.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.01858, allocations: 35.84 kB / 311.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.01861, allocations: 31.97 kB / 311.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.0188, allocations: 272.5 kB / 311.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0188, allocations: 0 / 311.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.0191, allocations: 63.97 kB / 311.8 MB, free: 2.062 MB / 298.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.000181/0.01928, allocations: 116.2 kB / 311.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.01953, allocations: 238.1 kB / 312.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.01954, allocations: 11.94 kB / 312.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.01974, allocations: 244.5 kB / 312.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.01997, allocations: 73.3 kB / 312.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.02127, allocations: 1.44 MB / 313.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.0214, allocations: 225.6 kB / 314.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.58e-05/0.02149, allocations: 61.09 kB / 314.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.02156, allocations: 75.38 kB / 314.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02156, allocations: 0 / 314.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of Templates: time 0.004856/0.02642, allocations: 2.185 MB / 316.5 MB, free: 13.28 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.791570283472538]