Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001118, allocations: 115.8 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 206.8 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.343/1.343, 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.2086/0.2086, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 71.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3358, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01435/0.3502, allocations: 13.96 MB / 0.5453 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009137/0.3594, allocations: 4.422 MB / 0.5496 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.3614, allocations: 79.81 kB / 0.5497 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004098/0.3655, allocations: 2.356 MB / 0.552 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00471/0.3702, allocations: 1.89 MB / 0.5538 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.3718, allocations: 0.5887 MB / 0.5544 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005207/0.377, allocations: 4.151 MB / 0.5585 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00389/0.3809, allocations: 3.59 MB / 0.562 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.3828, allocations: 1.573 MB / 0.5635 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.3851, allocations: 2.157 MB / 0.5656 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005836/0.3857, allocations: 348 kB / 0.566 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.3878, allocations: 1.201 MB / 0.5671 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001505/0.3893, allocations: 1.995 MB / 0.5691 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.3912, allocations: 2.38 MB / 0.5714 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007411/0.3986, allocations: 7.795 MB / 0.579 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3986, allocations: 0 / 0.579 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3986, allocations: 0 / 0.579 GB, free: 1.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001693/0.3988, allocations: 0 / 0.579 GB, free: 1.09 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: 1811 * Number of variables: 1811 Notification: Performance of Generate backend data structure: time 0.01088/0.4097, allocations: 5.35 MB / 0.5842 GB, free: 11.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4097, allocations: 8.031 kB / 0.5842 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009787/0.4195, allocations: 3.176 MB / 0.5873 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004573/0.4241, allocations: 2.255 MB / 0.5896 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.4244, allocations: 263 kB / 0.5898 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/0.4254, allocations: 347.7 kB / 0.5901 GB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02158/0.447, allocations: 12.18 MB / 0.602 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001715/0.4472, allocations: 27.72 kB / 0.6021 GB, free: 8.895 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/0.4485, allocations: 159.8 kB / 0.6022 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003928/0.4524, allocations: 2.637 MB / 0.6048 GB, free: 6.098 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02055/0.473, allocations: 11.21 MB / 0.6157 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05319/0.5262, allocations: 38.87 MB / 0.6537 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.5363, allocations: 4.978 MB / 0.6586 GB, free: 13.89 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003138/0.5394, allocations: 2.37 MB / 0.6609 GB, free: 11.51 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/0.5496, allocations: 6.823 MB / 0.6675 GB, free: 4.305 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.5497, allocations: 52.56 kB / 0.6676 GB, free: 4.246 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=226): time 5.029e-06/0.5497, allocations: 0 / 0.6676 GB, free: 4.246 MB / 0.5138 GB Notification: Performance of matching and sorting (n=235): time 0.03617/0.5859, allocations: 16.18 MB / 0.6834 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.586, allocations: 77.34 kB / 0.6834 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00753/0.5936, allocations: 3.12 MB / 0.6865 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.5938, allocations: 53.7 kB / 0.6865 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002687/0.5965, allocations: 3.189 MB / 0.6897 GB, free: 13.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001143/0.5976, allocations: 0.8828 MB / 0.6905 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002386/0.6, allocations: 1.21 MB / 0.6917 GB, free: 11.28 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6001, allocations: 301.1 kB / 0.692 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00386/0.604, allocations: 2.374 MB / 0.6943 GB, free: 8.605 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006955/0.611, allocations: 5.697 MB / 0.6999 GB, free: 1.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/0.6231, allocations: 8.768 MB / 0.7084 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/0.6232, allocations: 36 kB / 0.7085 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=795) (initialization): time 0.0173/0.6405, allocations: 8.841 MB / 0.7171 GB, free: 13.97 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.6407, allocations: 59.98 kB / 0.7172 GB, free: 13.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/0.6409, allocations: 116 kB / 0.7173 GB, free: 13.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003402/0.6443, allocations: 1.133 MB / 0.7184 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004317/0.6486, allocations: 1.349 MB / 0.7197 GB, free: 11.31 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009302/0.6579, allocations: 6.952 MB / 0.7265 GB, free: 4.078 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/0.6618, allocations: 319.7 kB / 0.7268 GB, free: 3.766 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009036/0.6627, allocations: 344 kB / 0.7271 GB, free: 3.43 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 32 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],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 (734): * Single equations (assignments): 726 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.004548/0.6673, allocations: 2.341 MB / 0.7294 GB, free: 1.074 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006952/0.668, allocations: 296.2 kB / 0.7297 GB, free: 0.7812 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2992/0.9671, allocations: 4.39 MB / 0.734 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.9672, allocations: 8.812 kB / 0.734 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.9672, allocations: 0 / 0.734 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006613/0.9679, allocations: 328.6 kB / 0.7343 GB, free: 176.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003381/0.9682, allocations: 33.75 kB / 0.7343 GB, free: 176.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.9693, allocations: 139.8 kB / 0.7345 GB, free: 176.3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/0.9696, allocations: 110.2 kB / 0.7346 GB, free: 176.3 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006518/0.9761, allocations: 4.113 MB / 0.7386 GB, free: 175 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006823/0.983, allocations: 6.229 MB / 0.7447 GB, free: 172.8 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001588/0.9846, allocations: 1.728 MB / 0.7464 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.002155/0.9867, allocations: 1.895 MB / 0.7482 GB, free: 171.6 MB / 0.5763 GB Notification: Performance of Backend: time 3.5e-07/0.9867, allocations: 3.781 kB / 0.7482 GB, free: 171.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.007176/0.9939, allocations: 4.682 MB / 0.7528 GB, free: 170 MB / 0.5763 GB Notification: Performance of SimCode: time 0.01195/1.006, allocations: 10.19 MB / 0.7627 GB, free: 161.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.07122/1.077, allocations: 47.84 MB / 0.8095 GB, free: 113.7 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches