Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") 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: 112.6 kB / 17.09 MB, free: 5.988 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.001179/0.001179, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.431/1.431, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2112/0.2112, allocations: 43.53 MB / 314.8 MB, free: 432 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.001657/0.001657, allocations: 73.44 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1308, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.01591/0.1468, allocations: 14.8 MB / 0.503 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.1579, allocations: 4.56 MB / 0.5075 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/0.1614, allocations: 87.69 kB / 0.5075 GB, free: 8.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004913/0.1664, allocations: 2.402 MB / 0.5099 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005902/0.1723, allocations: 1.915 MB / 0.5118 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.1747, allocations: 0.9003 MB / 0.5126 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005665/0.1803, allocations: 4.117 MB / 0.5167 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004702/0.1851, allocations: 3.503 MB / 0.5201 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.1876, allocations: 1.549 MB / 0.5216 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003546/0.1912, allocations: 2.13 MB / 0.5237 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001158/0.1923, allocations: 344 kB / 0.524 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.1954, allocations: 1.178 MB / 0.5252 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00265/0.1981, allocations: 1.991 MB / 0.5271 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003735/0.2018, allocations: 2.376 MB / 0.5294 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3071/0.5089, allocations: 7.87 MB / 0.5371 GB, free: 14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5089, allocations: 0.7969 kB / 0.5371 GB, free: 14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.5089, allocations: 0 / 0.5371 GB, free: 14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002492/0.5092, allocations: 0 / 0.5371 GB, free: 14 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01519/0.5244, allocations: 5.215 MB / 0.5422 GB, free: 12.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.5244, allocations: 14.55 kB / 0.5422 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.5356, allocations: 3.166 MB / 0.5453 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006908/0.5426, allocations: 2.35 MB / 0.5476 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/0.543, allocations: 249.3 kB / 0.5478 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001565/0.5446, allocations: 329.2 kB / 0.5482 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02633/0.5709, allocations: 11.9 MB / 0.5598 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.571, allocations: 30.81 kB / 0.5598 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005017/0.5715, allocations: 158.9 kB / 0.5599 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003764/0.5753, allocations: 2.646 MB / 0.5625 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0184/0.5937, allocations: 10.99 MB / 0.5733 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05754/0.6513, allocations: 37.33 MB / 0.6097 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008238/0.6596, allocations: 4.41 MB / 0.614 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003033/0.6626, allocations: 2.162 MB / 0.6161 GB, free: 4.723 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/0.6639, allocations: 1.32 MB / 0.6174 GB, free: 3.191 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.6639, allocations: 52.56 kB / 0.6175 GB, free: 3.129 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 4.93e-06/0.6639, allocations: 0 / 0.6175 GB, free: 3.129 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.04057/0.7045, allocations: 13.85 MB / 0.631 GB, free: 5.258 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.7046, allocations: 73.41 kB / 0.6311 GB, free: 5.176 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005529/0.7101, allocations: 2.987 MB / 0.634 GB, free: 2.172 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005035/0.7107, allocations: 66.27 kB / 0.6341 GB, free: 2.105 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002364/0.713, allocations: 3.117 MB / 0.6371 GB, free: 15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001404/0.7144, allocations: 0.9676 MB / 0.638 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001752/0.7162, allocations: 1.196 MB / 0.6392 GB, free: 12.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.7163, allocations: 309.1 kB / 0.6395 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003497/0.7198, allocations: 2.401 MB / 0.6419 GB, free: 10.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006111/0.7259, allocations: 5.712 MB / 0.6474 GB, free: 2.848 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/0.7367, allocations: 8.896 MB / 0.6561 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.355e-05/0.7368, allocations: 32 kB / 0.6561 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01652/0.7533, allocations: 8.812 MB / 0.6648 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.7534, allocations: 56 kB / 0.6648 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001996/0.7536, allocations: 112 kB / 0.6649 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003638/0.7573, allocations: 1.051 MB / 0.6659 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005186/0.7625, allocations: 1.38 MB / 0.6673 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/0.7657, allocations: 2.61 MB / 0.6698 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004473/0.7702, allocations: 319.7 kB / 0.6701 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/0.7713, allocations: 351.1 kB / 0.6705 GB, free: 10.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (748): * Single equations (assignments): 739 * 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 {(2,100.0%), (3,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.005624/0.777, allocations: 2.38 MB / 0.6728 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000838/0.7778, allocations: 296.2 kB / 0.6731 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.7886, allocations: 5.097 MB / 0.6781 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/0.7887, allocations: 11.95 kB / 0.6781 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.7887, allocations: 0 / 0.6781 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000862/0.7895, allocations: 329.1 kB / 0.6784 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007519/0.7903, allocations: 50.66 kB / 0.6784 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.7919, allocations: 135.8 kB / 0.6786 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004006/0.7923, allocations: 129.8 kB / 0.6787 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007807/0.8001, allocations: 4.315 MB / 0.6829 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009278/0.8094, allocations: 6.682 MB / 0.6894 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00254/0.812, allocations: 1.855 MB / 0.6912 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004113/0.8161, allocations: 1.83 MB / 0.693 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of Backend: time 7.11e-07/0.8161, allocations: 0 / 0.693 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01218/0.8283, allocations: 4.908 MB / 0.6978 GB, free: 14.4 MB / 0.545 GB Notification: Performance of SimCode: time 0.02404/0.8524, allocations: 10.25 MB / 0.7078 GB, free: 4.129 MB / 0.545 GB Notification: Performance of Templates: time 0.08684/0.9393, allocations: 47.11 MB / 0.7538 GB, free: 5.168 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches