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.001466/0.001466, allocations: 111.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001853, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.09 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001584, allocations: 71.89 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.351, allocations: 62.45 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.01624/0.3673, allocations: 13.8 MB / 0.5452 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009909/0.3773, allocations: 4.379 MB / 0.5494 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002529/0.3798, allocations: 86.66 kB / 0.5495 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004469/0.3843, allocations: 2.374 MB / 0.5518 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00461/0.389, allocations: 1.806 MB / 0.5536 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.391, allocations: 0.8925 MB / 0.5545 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004649/0.3956, allocations: 3.986 MB / 0.5584 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003449/0.3991, allocations: 3.428 MB / 0.5617 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.4008, allocations: 1.491 MB / 0.5632 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.4031, allocations: 2.032 MB / 0.5651 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005336/0.4037, allocations: 320 kB / 0.5655 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.4057, allocations: 1.139 MB / 0.5666 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.4072, allocations: 1.893 MB / 0.5684 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.4091, allocations: 2.232 MB / 0.5706 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007106/0.4162, allocations: 7.421 MB / 0.5778 GB, free: 2.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4162, allocations: 0 / 0.5778 GB, free: 2.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4162, allocations: 0 / 0.5778 GB, free: 2.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001476/0.4164, allocations: 0 / 0.5778 GB, free: 2.27 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.01088/0.4273, allocations: 5.107 MB / 0.5828 GB, free: 13.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.4274, allocations: 12.03 kB / 0.5828 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.4375, allocations: 3.142 MB / 0.5859 GB, free: 9.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004477/0.442, allocations: 2.212 MB / 0.5881 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.4422, allocations: 242.4 kB / 0.5883 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000774/0.443, allocations: 319.9 kB / 0.5886 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0165/0.4595, allocations: 11.4 MB / 0.5997 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.453e-05/0.4596, allocations: 27.81 kB / 0.5998 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004163/0.46, allocations: 143.8 kB / 0.5999 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003675/0.4637, allocations: 2.515 MB / 0.6024 GB, free: 8.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/0.4817, allocations: 10.59 MB / 0.6127 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05098/0.5327, allocations: 35.97 MB / 0.6478 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007349/0.5401, allocations: 4.294 MB / 0.652 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002763/0.5429, allocations: 2.119 MB / 0.6541 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.5441, allocations: 1.315 MB / 0.6554 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.5441, allocations: 56.5 kB / 0.6554 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=235): time 4.839e-06/0.5441, allocations: 0 / 0.6554 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=256): time 0.03792/0.5821, allocations: 13.7 MB / 0.6688 GB, free: 3.176 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.5821, allocations: 73.41 kB / 0.6689 GB, free: 3.094 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004377/0.5865, allocations: 2.899 MB / 0.6717 GB, free: 180 kB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.00029/0.5868, allocations: 61.7 kB / 0.6718 GB, free: 112 kB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.5888, allocations: 2.996 MB / 0.6747 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00099/0.5898, allocations: 0.9482 MB / 0.6756 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001965/0.5918, allocations: 1.159 MB / 0.6767 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5919, allocations: 309.1 kB / 0.677 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/0.5955, allocations: 2.342 MB / 0.6793 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005732/0.6012, allocations: 5.56 MB / 0.6848 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/0.6115, allocations: 8.67 MB / 0.6932 GB, free: 6.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.245e-05/0.6117, allocations: 32 kB / 0.6933 GB, free: 6.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01602/0.6277, allocations: 8.619 MB / 0.7017 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.6279, allocations: 55.94 kB / 0.7017 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001728/0.628, allocations: 112 kB / 0.7018 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003632/0.6317, allocations: 1.045 MB / 0.7028 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00456/0.6363, allocations: 1.337 MB / 0.7042 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/0.6393, allocations: 2.6 MB / 0.7067 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/0.6429, allocations: 311.9 kB / 0.707 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008308/0.6437, allocations: 332 kB / 0.7073 GB, free: 8.301 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.003853/0.6476, allocations: 2.291 MB / 0.7095 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006086/0.6482, allocations: 292.2 kB / 0.7098 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009423/0.6576, allocations: 4.968 MB / 0.7147 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.759e-05/0.6577, allocations: 15.95 kB / 0.7147 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.6577, allocations: 4 kB / 0.7147 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006027/0.6583, allocations: 317.2 kB / 0.715 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006562/0.659, allocations: 39.98 kB / 0.715 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.6605, allocations: 131.8 kB / 0.7152 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/0.6608, allocations: 129.8 kB / 0.7153 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007704/0.6685, allocations: 4.211 MB / 0.7194 GB, free: 11.76 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008418/0.677, allocations: 6.52 MB / 0.7258 GB, free: 5.176 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002153/0.6792, allocations: 1.8 MB / 0.7275 GB, free: 3.375 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.002931/0.6821, allocations: 1.759 MB / 0.7292 GB, free: 1.613 MB / 0.5763 GB Notification: Performance of Backend: time 3.8e-07/0.6821, allocations: 4 kB / 0.7292 GB, free: 1.609 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.2496/0.9317, allocations: 4.798 MB / 0.7339 GB, free: 183.5 MB / 0.5763 GB Notification: Performance of SimCode: time 0.01753/0.9492, allocations: 9.91 MB / 0.7436 GB, free: 179.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.06684/1.016, allocations: 45.59 MB / 0.7881 GB, free: 138.2 MB / 0.5763 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