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.00111/0.00111, allocations: 118.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 206.7 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3122/0.3122, allocations: 46.09 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 75.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3159, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01328/0.3292, allocations: 12.65 MB / 0.544 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.3397, allocations: 4.062 MB / 0.548 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003206/0.3429, allocations: 69.16 kB / 0.5481 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004164/0.3472, allocations: 1.839 MB / 0.5499 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004611/0.3518, allocations: 1.802 MB / 0.5516 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.3532, allocations: 495 kB / 0.5521 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004668/0.3579, allocations: 3.776 MB / 0.5558 GB, free: 9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003579/0.3615, allocations: 2.857 MB / 0.5586 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.3639, allocations: 1.347 MB / 0.5599 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002601/0.3666, allocations: 1.865 MB / 0.5617 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008897/0.3675, allocations: 283.9 kB / 0.562 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.3701, allocations: 1.104 MB / 0.5631 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002835/0.373, allocations: 1.734 MB / 0.5647 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003665/0.3767, allocations: 2.061 MB / 0.5668 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008262/0.385, allocations: 6.905 MB / 0.5735 GB, free: 6.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.385, allocations: 0 / 0.5735 GB, free: 6.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.385, allocations: 0 / 0.5735 GB, free: 6.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001833/0.3852, allocations: 0 / 0.5735 GB, free: 6.738 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: 1622 * Number of variables: 1622 Notification: Performance of Generate backend data structure: time 0.01179/0.397, allocations: 4.894 MB / 0.5783 GB, free: 1.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3971, allocations: 11.97 kB / 0.5783 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.4093, allocations: 3.137 MB / 0.5814 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004577/0.4139, allocations: 2.057 MB / 0.5834 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.4142, allocations: 213.8 kB / 0.5836 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.4153, allocations: 299.8 kB / 0.5839 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/0.4343, allocations: 10.96 MB / 0.5946 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.4345, allocations: 19.81 kB / 0.5946 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009878/0.4355, allocations: 131.8 kB / 0.5947 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005164/0.4407, allocations: 2.507 MB / 0.5971 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/0.4627, allocations: 10.28 MB / 0.6072 GB, free: 3.637 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05007/0.5128, allocations: 34.96 MB / 0.6413 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007494/0.5203, allocations: 4.296 MB / 0.6455 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002647/0.523, allocations: 2.114 MB / 0.6476 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.5242, allocations: 1.319 MB / 0.6489 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.5243, allocations: 52.56 kB / 0.6489 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=235): time 5.7e-06/0.5243, allocations: 0 / 0.6489 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=256): time 0.03683/0.5612, allocations: 13.7 MB / 0.6623 GB, free: 9.871 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.5612, allocations: 73.41 kB / 0.6624 GB, free: 9.789 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/0.5651, allocations: 2.755 MB / 0.6651 GB, free: 7.02 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002028/0.5653, allocations: 57.69 kB / 0.6651 GB, free: 6.957 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.567, allocations: 2.944 MB / 0.668 GB, free: 3.984 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008744/0.5679, allocations: 0.9843 MB / 0.669 GB, free: 2.992 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00157/0.5695, allocations: 1.14 MB / 0.6701 GB, free: 1.84 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.5696, allocations: 305.1 kB / 0.6704 GB, free: 1.539 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/0.5728, allocations: 2.307 MB / 0.6726 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005096/0.5779, allocations: 5.399 MB / 0.6779 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009922/0.5879, allocations: 8.462 MB / 0.6862 GB, free: 14.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000184/0.5881, allocations: 36 kB / 0.6862 GB, free: 14.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01548/0.6036, allocations: 8.437 MB / 0.6944 GB, free: 5.855 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/0.6037, allocations: 48 kB / 0.6945 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/0.6039, allocations: 108 kB / 0.6946 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003582/0.6075, allocations: 1.033 MB / 0.6956 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0041/0.6116, allocations: 1.306 MB / 0.6969 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.6144, allocations: 2.597 MB / 0.6994 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/0.6178, allocations: 307.8 kB / 0.6997 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006683/0.6184, allocations: 336 kB / 0.7 GB, free: 15.98 MB / 0.5606 GB 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.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 (705): * Single equations (assignments): 696 * 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.003293/0.6217, allocations: 2.181 MB / 0.7021 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005006/0.6223, allocations: 294 kB / 0.7024 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008717/0.631, allocations: 4.959 MB / 0.7073 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.631, allocations: 7.969 kB / 0.7073 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.631, allocations: 0 / 0.7073 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.6315, allocations: 323.1 kB / 0.7076 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000393/0.6319, allocations: 43.98 kB / 0.7076 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.633, allocations: 135.8 kB / 0.7077 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.6333, allocations: 121.8 kB / 0.7079 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006751/0.64, allocations: 4.222 MB / 0.712 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2857/0.9258, allocations: 6.531 MB / 0.7184 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002305/0.9281, allocations: 1.802 MB / 0.7201 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002635/0.9308, allocations: 1.675 MB / 0.7218 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of Backend: time 3.61e-07/0.9308, allocations: 0 / 0.7218 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009843/0.9406, allocations: 4.725 MB / 0.7264 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01533/0.956, allocations: 9.562 MB / 0.7357 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.06837/1.024, allocations: 43.62 MB / 0.7783 GB, free: 114.8 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches