Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 110.4 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001178, allocations: 187.2 kB / 19.38 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2102/0.2102, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3334, allocations: 60.83 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01265/0.3461, allocations: 12.79 MB / 0.5321 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008496/0.3546, allocations: 4.073 MB / 0.5361 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.3562, allocations: 69.81 kB / 0.5361 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003183/0.3594, allocations: 1.84 MB / 0.5379 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.3631, allocations: 1.856 MB / 0.5397 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3642, allocations: 496.8 kB / 0.5402 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004362/0.3685, allocations: 3.798 MB / 0.5439 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003328/0.3719, allocations: 2.882 MB / 0.5467 GB, free: 184 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.3739, allocations: 1.374 MB / 0.5481 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.3762, allocations: 1.892 MB / 0.5499 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005347/0.3767, allocations: 284 kB / 0.5502 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.3789, allocations: 1.119 MB / 0.5513 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.3804, allocations: 1.788 MB / 0.553 GB, free: 9.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001938/0.3823, allocations: 2.128 MB / 0.5551 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007791/0.3901, allocations: 7.088 MB / 0.562 GB, free: 464 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.3902, allocations: 0 / 0.562 GB, free: 464 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.3902, allocations: 0 / 0.562 GB, free: 464 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000169/0.3903, allocations: 0 / 0.562 GB, free: 464 kB / 414.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.009942/0.4003, allocations: 4.886 MB / 0.5668 GB, free: 11.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.4004, allocations: 12.03 kB / 0.5668 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.4109, allocations: 3.145 MB / 0.5699 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003884/0.4148, allocations: 2.1 MB / 0.5719 GB, free: 6.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.415, allocations: 225.8 kB / 0.5721 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006145/0.4156, allocations: 291.9 kB / 0.5724 GB, free: 5.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01532/0.431, allocations: 11.12 MB / 0.5833 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-05/0.4311, allocations: 39.69 kB / 0.5833 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003854/0.4315, allocations: 131.8 kB / 0.5835 GB, free: 9.941 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003851/0.4353, allocations: 2.562 MB / 0.586 GB, free: 7.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.4527, allocations: 10.38 MB / 0.5961 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04786/0.5006, allocations: 35.38 MB / 0.6306 GB, free: 8.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00745/0.508, allocations: 4.284 MB / 0.6348 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0027/0.5108, allocations: 2.115 MB / 0.6369 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.5119, allocations: 1.319 MB / 0.6382 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/0.512, allocations: 52.56 kB / 0.6382 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of pre-optimization done (n=235): time 4.949e-06/0.512, allocations: 0 / 0.6382 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of matching and sorting (n=256): time 0.03773/0.5497, allocations: 13.74 MB / 0.6517 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.5498, allocations: 73.41 kB / 0.6517 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003621/0.5534, allocations: 2.771 MB / 0.6544 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.5536, allocations: 65.69 kB / 0.6545 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.5553, allocations: 2.975 MB / 0.6574 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008001/0.5561, allocations: 0.9881 MB / 0.6584 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001419/0.5575, allocations: 1.144 MB / 0.6595 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.5576, allocations: 301.1 kB / 0.6598 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003219/0.5609, allocations: 2.311 MB / 0.662 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005001/0.5659, allocations: 5.395 MB / 0.6673 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009062/0.5749, allocations: 8.458 MB / 0.6755 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.148e-05/0.575, allocations: 32 kB / 0.6756 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01448/0.5895, allocations: 8.437 MB / 0.6838 GB, free: 14.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.622e-05/0.5896, allocations: 52.97 kB / 0.6839 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/0.5898, allocations: 108 kB / 0.684 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003706/0.5935, allocations: 1.036 MB / 0.685 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004371/0.5979, allocations: 1.302 MB / 0.6863 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.6009, allocations: 2.6 MB / 0.6888 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/0.6043, allocations: 307.8 kB / 0.6891 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006626/0.605, allocations: 328 kB / 0.6894 GB, free: 8.793 MB / 0.545 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.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 (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.003325/0.6083, allocations: 2.209 MB / 0.6916 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005026/0.6088, allocations: 290 kB / 0.6918 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008869/0.6177, allocations: 4.963 MB / 0.6967 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/0.6177, allocations: 7.969 kB / 0.6967 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.6177, allocations: 3.938 kB / 0.6967 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/0.6182, allocations: 331 kB / 0.697 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004468/0.6187, allocations: 39.94 kB / 0.697 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.6199, allocations: 131.8 kB / 0.6972 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003188/0.6202, allocations: 133.7 kB / 0.6973 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006769/0.627, allocations: 4.218 MB / 0.7014 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007923/0.635, allocations: 6.533 MB / 0.7078 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002105/0.6371, allocations: 1.812 MB / 0.7096 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002601/0.6397, allocations: 1.681 MB / 0.7112 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of Backend: time 3.1e-07/0.6397, allocations: 0 / 0.7112 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009462/0.6492, allocations: 4.722 MB / 0.7158 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01764/0.6668, allocations: 9.684 MB / 0.7253 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of Templates: time 0.3387/1.006, allocations: 43.97 MB / 0.7682 GB, free: 163.5 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches