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.00115/0.00115, allocations: 103.2 kB / 17.08 MB, free: 5.969 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.001098/0.001098, allocations: 194.2 kB / 18.01 MB, free: 5.059 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.349/1.349, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2097/0.2097, allocations: 43.53 MB / 314.8 MB, free: 460 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.001654/0.001654, allocations: 67.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.13, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.01535/0.1454, allocations: 13.18 MB / 0.5014 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.1554, allocations: 4.169 MB / 0.5055 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002789/0.1583, allocations: 71.81 kB / 0.5056 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003975/0.1623, allocations: 1.853 MB / 0.5074 GB, free: 8.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005323/0.1677, allocations: 1.88 MB / 0.5092 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.1691, allocations: 0.499 MB / 0.5097 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006515/0.1757, allocations: 3.923 MB / 0.5135 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004809/0.1805, allocations: 2.907 MB / 0.5164 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.1833, allocations: 1.413 MB / 0.5177 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00344/0.1868, allocations: 1.974 MB / 0.5197 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.1884, allocations: 308 kB / 0.52 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.1917, allocations: 1.135 MB / 0.5211 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002588/0.1943, allocations: 1.866 MB / 0.5229 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003859/0.1982, allocations: 2.213 MB / 0.5251 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2948/0.493, allocations: 7.397 MB / 0.5323 GB, free: 13.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.493, allocations: 1.125 kB / 0.5323 GB, free: 13.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.493, allocations: 3.828 kB / 0.5323 GB, free: 13.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002552/0.4933, allocations: 3.656 kB / 0.5323 GB, free: 13.77 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.009819/0.5031, allocations: 4.919 MB / 0.5371 GB, free: 11.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5032, allocations: 13.39 kB / 0.5371 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.5139, allocations: 3.143 MB / 0.5402 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005218/0.5192, allocations: 2.192 MB / 0.5423 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004423/0.5196, allocations: 226.5 kB / 0.5425 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/0.521, allocations: 297.1 kB / 0.5428 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/0.5426, allocations: 11.91 MB / 0.5545 GB, free: 9.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001391/0.5427, allocations: 28.97 kB / 0.5545 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000704/0.5434, allocations: 138.8 kB / 0.5546 GB, free: 8.961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004035/0.5475, allocations: 2.71 MB / 0.5573 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/0.5655, allocations: 11.09 MB / 0.5681 GB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05707/0.6226, allocations: 36.9 MB / 0.6041 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009653/0.6323, allocations: 4.7 MB / 0.6087 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00357/0.6359, allocations: 2.252 MB / 0.6109 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/0.6373, allocations: 1.314 MB / 0.6122 GB, free: 6.637 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.125e-05/0.6374, allocations: 52.56 kB / 0.6122 GB, free: 6.574 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 7.054e-06/0.6374, allocations: 0 / 0.6122 GB, free: 6.574 MB / 462.1 MB Notification: Performance of matching and sorting (n=256): time 0.04008/0.6775, allocations: 13.54 MB / 0.6255 GB, free: 8.988 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.6776, allocations: 74.5 kB / 0.6255 GB, free: 8.906 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00539/0.683, allocations: 2.834 MB / 0.6283 GB, free: 6.062 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000457/0.6835, allocations: 57.7 kB / 0.6284 GB, free: 6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002589/0.6861, allocations: 2.972 MB / 0.6313 GB, free: 3.039 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001265/0.6874, allocations: 0.9343 MB / 0.6322 GB, free: 2.113 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002352/0.6898, allocations: 1.151 MB / 0.6333 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.6899, allocations: 305.1 kB / 0.6336 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00372/0.6936, allocations: 2.313 MB / 0.6359 GB, free: 14.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006091/0.6997, allocations: 5.486 MB / 0.6412 GB, free: 7.363 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/0.7107, allocations: 8.546 MB / 0.6496 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/0.7109, allocations: 32 kB / 0.6496 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01652/0.7274, allocations: 8.481 MB / 0.6579 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.7275, allocations: 53.31 kB / 0.6579 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001782/0.7277, allocations: 112 kB / 0.658 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003633/0.7314, allocations: 1.017 MB / 0.659 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004409/0.7358, allocations: 1.322 MB / 0.6603 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/0.739, allocations: 2.62 MB / 0.6629 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003906/0.7429, allocations: 317.4 kB / 0.6632 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007765/0.7437, allocations: 335.6 kB / 0.6635 GB, free: 15.75 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.004361/0.748, allocations: 2.274 MB / 0.6657 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006741/0.7487, allocations: 284.3 kB / 0.666 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009839/0.7586, allocations: 4.923 MB / 0.6708 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.7586, allocations: 11.95 kB / 0.6708 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.7586, allocations: 0 / 0.6708 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007144/0.7594, allocations: 315.6 kB / 0.6711 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000599/0.76, allocations: 32 kB / 0.6711 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.7614, allocations: 131.8 kB / 0.6713 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003741/0.7618, allocations: 125.5 kB / 0.6714 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007072/0.7689, allocations: 4.158 MB / 0.6754 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008666/0.7775, allocations: 6.466 MB / 0.6818 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002235/0.7798, allocations: 1.78 MB / 0.6835 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003251/0.783, allocations: 1.729 MB / 0.6852 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of Backend: time 7.01e-07/0.7831, allocations: 0 / 0.6852 GB, free: 9.359 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.01022/0.7933, allocations: 4.746 MB / 0.6898 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01761/0.8109, allocations: 9.762 MB / 0.6993 GB, free: 10.81 MB / 0.545 GB Notification: Performance of Templates: time 0.08189/0.8928, allocations: 44.25 MB / 0.7426 GB, free: 14.71 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