Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 103.7 kB / 17.08 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 195.3 kB / 18.02 MB, free: 4.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1923/0.1923, allocations: 43.53 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.91 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 57.79 MB / 0.4886 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.01334/0.1338, allocations: 13.17 MB / 0.5014 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008708/0.1425, allocations: 4.165 MB / 0.5055 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.1448, allocations: 67.81 kB / 0.5056 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003877/0.1487, allocations: 1.872 MB / 0.5074 GB, free: 8.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005419/0.1541, allocations: 1.911 MB / 0.5092 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.1558, allocations: 0.5068 MB / 0.5097 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005435/0.1613, allocations: 3.931 MB / 0.5136 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004333/0.1656, allocations: 2.907 MB / 0.5164 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.1684, allocations: 1.413 MB / 0.5178 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003031/0.1714, allocations: 1.97 MB / 0.5197 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009803/0.1724, allocations: 307.9 kB / 0.52 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.1751, allocations: 1.143 MB / 0.5211 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002433/0.1775, allocations: 1.862 MB / 0.523 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003305/0.1808, allocations: 2.217 MB / 0.5251 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2553/0.4361, allocations: 7.39 MB / 0.5323 GB, free: 14.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4362, allocations: 0 / 0.5323 GB, free: 14.26 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4362, allocations: 4.297 kB / 0.5323 GB, free: 14.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002339/0.4364, allocations: 0 / 0.5323 GB, free: 14.26 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1720 * Number of variables: 1720 Notification: Performance of Generate backend data structure: time 0.009733/0.4462, allocations: 4.926 MB / 0.5371 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4462, allocations: 12.97 kB / 0.5372 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.4578, allocations: 3.141 MB / 0.5402 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006354/0.4642, allocations: 2.195 MB / 0.5424 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.4645, allocations: 225.4 kB / 0.5426 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008649/0.4653, allocations: 303 kB / 0.5429 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/0.4855, allocations: 11.9 MB / 0.5545 GB, free: 9.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.492e-05/0.4857, allocations: 32.5 kB / 0.5545 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004731/0.4861, allocations: 135.1 kB / 0.5547 GB, free: 9.141 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004055/0.4902, allocations: 2.712 MB / 0.5573 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01821/0.5084, allocations: 11.09 MB / 0.5681 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05123/0.5597, allocations: 36.91 MB / 0.6042 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008821/0.5686, allocations: 4.696 MB / 0.6088 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003003/0.5716, allocations: 2.256 MB / 0.611 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/0.5728, allocations: 1.311 MB / 0.6122 GB, free: 6.738 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.5728, allocations: 52.22 kB / 0.6123 GB, free: 6.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 5.28e-06/0.5729, allocations: 4 kB / 0.6123 GB, free: 6.676 MB / 462.1 MB Notification: Performance of matching and sorting (n=256): time 0.03721/0.6101, allocations: 13.53 MB / 0.6255 GB, free: 9.102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.6101, allocations: 77.16 kB / 0.6256 GB, free: 9.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005046/0.6152, allocations: 2.841 MB / 0.6284 GB, free: 6.168 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003999/0.6156, allocations: 59.12 kB / 0.6284 GB, free: 6.105 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002311/0.6179, allocations: 2.969 MB / 0.6313 GB, free: 3.148 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001084/0.619, allocations: 0.9347 MB / 0.6322 GB, free: 2.219 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002121/0.6212, allocations: 1.149 MB / 0.6334 GB, free: 1.062 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6213, allocations: 309.1 kB / 0.6336 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004027/0.6254, allocations: 2.307 MB / 0.6359 GB, free: 14.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006148/0.6315, allocations: 5.484 MB / 0.6413 GB, free: 7.473 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.6421, allocations: 8.549 MB / 0.6496 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001028/0.6422, allocations: 32 kB / 0.6496 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01631/0.6585, allocations: 8.476 MB / 0.6579 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.6587, allocations: 56.88 kB / 0.658 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001913/0.6589, allocations: 112 kB / 0.6581 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/0.6627, allocations: 1.021 MB / 0.6591 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004318/0.6671, allocations: 1.326 MB / 0.6604 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.6701, allocations: 2.615 MB / 0.6629 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/0.6739, allocations: 315.2 kB / 0.6632 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006938/0.6746, allocations: 332 kB / 0.6635 GB, free: 15.88 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 709 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00395/0.6785, allocations: 2.281 MB / 0.6658 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006721/0.6792, allocations: 281.7 kB / 0.666 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009709/0.6889, allocations: 4.92 MB / 0.6708 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-05/0.689, allocations: 15.95 kB / 0.6709 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.689, allocations: 0 / 0.6709 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007955/0.6898, allocations: 309.4 kB / 0.6711 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006066/0.6904, allocations: 36 kB / 0.6712 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.6918, allocations: 135.2 kB / 0.6713 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003367/0.6921, allocations: 121.8 kB / 0.6714 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0072/0.6993, allocations: 4.154 MB / 0.6755 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008666/0.708, allocations: 6.461 MB / 0.6818 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002451/0.7105, allocations: 1.781 MB / 0.6835 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003438/0.7139, allocations: 1.729 MB / 0.6852 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of Backend: time 6.31e-07/0.714, allocations: 0 / 0.6852 GB, free: 9.488 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1913:5-1915:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1916:5-1918:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01204/0.726, allocations: 4.748 MB / 0.6899 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02117/0.7472, allocations: 9.779 MB / 0.6994 GB, free: 10.92 MB / 0.545 GB Notification: Performance of Templates: time 0.08448/0.8317, allocations: 44.18 MB / 0.7426 GB, free: 14.82 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit2/FreeMotionScalarInit2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches