Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 93.94 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 204.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.2 MB / 245.9 MB, free: 12.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2213/0.2213, allocations: 45.92 MB / 344 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002849, allocations: 8 kB / 417.9 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1534, allocations: 63.46 MB / 481.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.02882/0.1822, allocations: 28.86 MB / 0.4983 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01827/0.2006, allocations: 7.453 MB / 0.5056 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005818/0.2064, allocations: 143.6 kB / 0.5057 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.308/0.5144, allocations: 1.464 MB / 0.5071 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01974/0.5342, allocations: 4.393 MB / 0.5114 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.5373, allocations: 413.9 kB / 0.5118 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006392/0.5437, allocations: 2.095 MB / 0.5139 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007165/0.5508, allocations: 3.305 MB / 0.5171 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.5533, allocations: 0.9053 MB / 0.518 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/0.5558, allocations: 1.238 MB / 0.5192 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007279/0.5565, allocations: 140.4 kB / 0.5193 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.5593, allocations: 0.833 MB / 0.5201 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002015/0.5613, allocations: 1.479 MB / 0.5216 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.5627, allocations: 0.8154 MB / 0.5224 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007118/0.5698, allocations: 5.372 MB / 0.5276 GB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.5699, allocations: 1.719 kB / 0.5276 GB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5699, allocations: 0 / 0.5276 GB, free: 7.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002812/0.5702, allocations: 0 / 0.5276 GB, free: 7.754 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01312/0.5833, allocations: 4.147 MB / 0.5317 GB, free: 5.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5833, allocations: 9.594 kB / 0.5317 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.5968, allocations: 3.785 MB / 0.5354 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006692/0.6035, allocations: 2.136 MB / 0.5375 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.6038, allocations: 220.9 kB / 0.5377 GB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/0.605, allocations: 290.4 kB / 0.5379 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/0.6277, allocations: 11.17 MB / 0.5489 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/0.6279, allocations: 29.59 kB / 0.5489 GB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004991/0.6284, allocations: 131.2 kB / 0.549 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00422/0.6326, allocations: 2.574 MB / 0.5515 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/0.6545, allocations: 10.42 MB / 0.5617 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06579/0.7204, allocations: 35.59 MB / 0.5965 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008609/0.729, allocations: 4.276 MB / 0.6006 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.7305, allocations: 1.323 MB / 0.6019 GB, free: 8.824 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/0.7305, allocations: 59.48 kB / 0.602 GB, free: 8.762 MB / 446.1 MB Notification: Performance of pre-optimization done (n=235): time 6.592e-06/0.7306, allocations: 0 / 0.602 GB, free: 8.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=256): time 0.04034/0.7709, allocations: 14.24 MB / 0.6159 GB, free: 10.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.771, allocations: 77.41 kB / 0.616 GB, free: 10.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004693/0.7757, allocations: 2.866 MB / 0.6188 GB, free: 7.406 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003407/0.7761, allocations: 60.05 kB / 0.6188 GB, free: 7.344 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002172/0.7782, allocations: 2.859 MB / 0.6216 GB, free: 4.496 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.7794, allocations: 0.9506 MB / 0.6225 GB, free: 3.555 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.7796, allocations: 104 kB / 0.6226 GB, free: 3.453 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004064/0.78, allocations: 0.5498 MB / 0.6232 GB, free: 2.895 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003604/0.7837, allocations: 2.275 MB / 0.6254 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005606/0.7893, allocations: 5.349 MB / 0.6306 GB, free: 9.766 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006813/0.7961, allocations: 3.507 MB / 0.634 GB, free: 6.273 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001155/0.7963, allocations: 32 kB / 0.6341 GB, free: 6.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01624/0.8125, allocations: 8.352 MB / 0.6422 GB, free: 13.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.717e-05/0.8126, allocations: 52 kB / 0.6423 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/0.8127, allocations: 112.9 kB / 0.6424 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003587/0.8163, allocations: 1.044 MB / 0.6434 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004467/0.8208, allocations: 1.294 MB / 0.6447 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.8236, allocations: 2.494 MB / 0.6471 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003725/0.8274, allocations: 307.7 kB / 0.6474 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000607/0.828, allocations: 328 kB / 0.6477 GB, free: 8.102 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 489 * Number of states: 0 () * Number of discrete variables: 26 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (701): * Single equations (assignments): 692 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004292/0.8323, allocations: 2.208 MB / 0.6499 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005124/0.8328, allocations: 280.3 kB / 0.6501 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009364/0.8422, allocations: 4.95 MB / 0.655 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.861e-05/0.8423, allocations: 44 kB / 0.655 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.8423, allocations: 0 / 0.655 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/0.8424, allocations: 15.95 kB / 0.655 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02216/0.8645, allocations: 11.31 MB / 0.6661 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.8646, allocations: 8 kB / 0.6661 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/0.8663, allocations: 413 kB / 0.6665 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003356/0.8697, allocations: 0.9073 MB / 0.6674 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002472/0.8699, allocations: 63.91 kB / 0.6674 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.8725, allocations: 2.307 MB / 0.6697 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/0.8725, allocations: 11.94 kB / 0.6697 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/0.8844, allocations: 7.993 MB / 0.6775 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.8854, allocations: 333.4 kB / 0.6778 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003927/0.8858, allocations: 51.98 kB / 0.6779 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.8871, allocations: 131.8 kB / 0.678 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/0.8874, allocations: 159.7 kB / 0.6781 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/0.8876, allocations: 79.64 kB / 0.6782 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00281/0.8904, allocations: 1.755 MB / 0.6799 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8904, allocations: 0 / 0.6799 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004701/0.8951, allocations: 0.9883 MB / 0.6809 GB, free: 5.426 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (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.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005712/0.8957, allocations: 202.6 kB / 0.6811 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009994/0.9057, allocations: 6.006 MB / 0.6869 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.9058, allocations: 0 / 0.6869 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004283/0.9101, allocations: 2.551 MB / 0.6894 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.9122, allocations: 393.3 kB / 0.6898 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/0.9327, allocations: 12.65 MB / 0.7022 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00397/0.9368, allocations: 3.515 MB / 0.7056 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004867/0.9417, allocations: 2.049 MB / 0.7076 GB, free: 9.828 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007987/0.9425, allocations: 235.4 kB / 0.7078 GB, free: 9.602 MB / 0.545 GB Notification: Performance of SimCode: time 2.875e-06/0.9425, allocations: 3.938 kB / 0.7078 GB, free: 9.598 MB / 0.545 GB Notification: Performance of Templates: time 0.342/1.284, allocations: 31.38 MB / 0.7385 GB, free: 190.9 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches