Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 115.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001902/0.001902, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.237/0.237, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 79.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3577, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.01658/0.3744, allocations: 13.79 MB / 0.5451 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.3862, allocations: 4.387 MB / 0.5494 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003999/0.3902, allocations: 86.81 kB / 0.5495 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004971/0.3953, allocations: 2.376 MB / 0.5518 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006297/0.4016, allocations: 1.86 MB / 0.5537 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.4043, allocations: 0.8808 MB / 0.5545 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007567/0.4118, allocations: 3.992 MB / 0.5584 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006187/0.4181, allocations: 3.428 MB / 0.5618 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00329/0.4214, allocations: 1.483 MB / 0.5632 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003767/0.4252, allocations: 2.029 MB / 0.5652 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001302/0.4265, allocations: 328 kB / 0.5655 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.4298, allocations: 1.135 MB / 0.5666 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00296/0.4328, allocations: 1.886 MB / 0.5684 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004693/0.4375, allocations: 2.244 MB / 0.5706 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.4495, allocations: 7.451 MB / 0.5779 GB, free: 2.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4495, allocations: 0 / 0.5779 GB, free: 2.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4495, allocations: 0 / 0.5779 GB, free: 2.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002997/0.4498, allocations: 0 / 0.5779 GB, free: 2.199 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1710 * Number of variables: 1710 Notification: Performance of Generate backend data structure: time 0.01588/0.4657, allocations: 5.231 MB / 0.583 GB, free: 12.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.4658, allocations: 8.031 kB / 0.583 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/0.479, allocations: 3.172 MB / 0.5861 GB, free: 9.699 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005942/0.485, allocations: 2.22 MB / 0.5883 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.4853, allocations: 238.5 kB / 0.5885 GB, free: 7.195 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/0.4871, allocations: 331.9 kB / 0.5888 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03284/0.52, allocations: 11.39 MB / 0.6 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000227/0.5202, allocations: 35.69 kB / 0.6 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001624/0.5219, allocations: 147.8 kB / 0.6001 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006747/0.5286, allocations: 2.519 MB / 0.6026 GB, free: 8.328 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03265/0.5613, allocations: 10.58 MB / 0.6129 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08352/0.6449, allocations: 36.05 MB / 0.6481 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009583/0.6545, allocations: 4.294 MB / 0.6523 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003149/0.6577, allocations: 2.119 MB / 0.6544 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/0.659, allocations: 1.315 MB / 0.6557 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.345e-05/0.6591, allocations: 60.55 kB / 0.6557 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=235): time 7.665e-06/0.6591, allocations: 0 / 0.6557 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=256): time 0.04497/0.7041, allocations: 13.76 MB / 0.6692 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.7041, allocations: 73.41 kB / 0.6692 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005108/0.7093, allocations: 2.915 MB / 0.6721 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003467/0.7096, allocations: 53.7 kB / 0.6721 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002556/0.7122, allocations: 3.127 MB / 0.6752 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001238/0.7135, allocations: 0.9882 MB / 0.6762 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002243/0.7157, allocations: 1.172 MB / 0.6773 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7159, allocations: 305.1 kB / 0.6776 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004043/0.7199, allocations: 2.35 MB / 0.6799 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00568/0.7256, allocations: 5.552 MB / 0.6853 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.7358, allocations: 8.67 MB / 0.6938 GB, free: 6.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.17e-05/0.7359, allocations: 36 kB / 0.6938 GB, free: 6.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01432/0.7503, allocations: 8.621 MB / 0.7022 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.7504, allocations: 52.22 kB / 0.7023 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/0.7506, allocations: 120 kB / 0.7024 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003729/0.7543, allocations: 1.04 MB / 0.7034 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004966/0.7593, allocations: 1.337 MB / 0.7047 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/0.7625, allocations: 2.608 MB / 0.7073 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004137/0.7666, allocations: 311.7 kB / 0.7076 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009632/0.7676, allocations: 340 kB / 0.7079 GB, free: 7.738 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 510 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit1.arrow.arrow.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,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 (726): * Single equations (assignments): 717 * 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.004828/0.7725, allocations: 2.294 MB / 0.7101 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006881/0.7732, allocations: 301.9 kB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009385/0.7826, allocations: 4.976 MB / 0.7153 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/0.7826, allocations: 7.969 kB / 0.7153 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.7826, allocations: 0 / 0.7153 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3178/1.1, allocations: 327.5 kB / 0.7156 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009042/1.101, allocations: 37.39 kB / 0.7156 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.103, allocations: 132.1 kB / 0.7158 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/1.103, allocations: 133.8 kB / 0.7159 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007619/1.111, allocations: 4.217 MB / 0.72 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008713/1.119, allocations: 6.53 MB / 0.7264 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001907/1.121, allocations: 1.806 MB / 0.7281 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002276/1.124, allocations: 1.764 MB / 0.7299 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of Backend: time 3.4e-07/1.124, allocations: 0 / 0.7299 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008599/1.132, allocations: 4.802 MB / 0.7346 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01458/1.147, allocations: 10.07 MB / 0.7444 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07036/1.217, allocations: 45.49 MB / 0.7888 GB, free: 103.9 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches