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.001691/0.001691, allocations: 106.5 kB / 18.45 MB, free: 4.602 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.001887/0.001887, allocations: 187.2 kB / 19.39 MB, free: 3.68 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.376/1.376, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2461/0.2461, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3864, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01368/0.4002, allocations: 12.8 MB / 0.5321 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.4111, allocations: 4.068 MB / 0.536 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003699/0.4149, allocations: 78.47 kB / 0.5361 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004924/0.4198, allocations: 1.84 MB / 0.5379 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00635/0.4263, allocations: 1.859 MB / 0.5397 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.4279, allocations: 0.4883 MB / 0.5402 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007308/0.4352, allocations: 3.803 MB / 0.5439 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005214/0.4404, allocations: 2.876 MB / 0.5467 GB, free: 148 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.4435, allocations: 1.37 MB / 0.5481 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003299/0.4468, allocations: 1.888 MB / 0.5499 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.448, allocations: 288 kB / 0.5502 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.4512, allocations: 1.119 MB / 0.5513 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002433/0.4537, allocations: 1.788 MB / 0.553 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003298/0.457, allocations: 2.12 MB / 0.5551 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008635/0.4657, allocations: 7.063 MB / 0.562 GB, free: 472 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4657, allocations: 0 / 0.562 GB, free: 472 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4657, allocations: 0 / 0.562 GB, free: 472 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001743/0.4659, allocations: 0 / 0.562 GB, free: 472 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.01024/0.4761, allocations: 4.77 MB / 0.5667 GB, free: 11.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.4762, allocations: 8.031 kB / 0.5667 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.4869, allocations: 3.118 MB / 0.5697 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004777/0.4917, allocations: 2.103 MB / 0.5718 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.4919, allocations: 213.9 kB / 0.572 GB, free: 6.121 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000797/0.4927, allocations: 295.8 kB / 0.5722 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.5106, allocations: 11.12 MB / 0.5831 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.5107, allocations: 19.81 kB / 0.5831 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006187/0.5113, allocations: 135.8 kB / 0.5833 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004433/0.5158, allocations: 2.57 MB / 0.5858 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02132/0.5371, allocations: 10.39 MB / 0.5959 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06011/0.5972, allocations: 35.3 MB / 0.6304 GB, free: 8.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008244/0.6055, allocations: 4.283 MB / 0.6346 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/0.6087, allocations: 2.119 MB / 0.6366 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/0.6101, allocations: 1.307 MB / 0.6379 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/0.6102, allocations: 56.56 kB / 0.638 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=235): time 7.574e-06/0.6103, allocations: 4 kB / 0.638 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of matching and sorting (n=256): time 0.04027/0.6505, allocations: 13.66 MB / 0.6513 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.6506, allocations: 73.41 kB / 0.6514 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004069/0.6547, allocations: 2.77 MB / 0.6541 GB, free: 172 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002738/0.655, allocations: 61.69 kB / 0.6542 GB, free: 104 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.6569, allocations: 2.856 MB / 0.6569 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/0.658, allocations: 0.9482 MB / 0.6579 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001818/0.6598, allocations: 1.127 MB / 0.659 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.6599, allocations: 305.1 kB / 0.6593 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003376/0.6633, allocations: 2.303 MB / 0.6615 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005449/0.6688, allocations: 5.399 MB / 0.6668 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009484/0.6783, allocations: 8.454 MB / 0.675 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.671e-05/0.6784, allocations: 32 kB / 0.6751 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01628/0.6947, allocations: 8.428 MB / 0.6833 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.6948, allocations: 52 kB / 0.6833 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/0.695, allocations: 104 kB / 0.6834 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003821/0.6988, allocations: 1.04 MB / 0.6845 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004978/0.7038, allocations: 1.302 MB / 0.6857 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/0.707, allocations: 2.592 MB / 0.6883 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0042/0.7112, allocations: 311.8 kB / 0.6886 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/0.7122, allocations: 328 kB / 0.6889 GB, free: 9.27 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.005241/0.7175, allocations: 2.213 MB / 0.691 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009649/0.7185, allocations: 280.3 kB / 0.6913 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.7298, allocations: 4.955 MB / 0.6961 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.234e-05/0.7299, allocations: 11.95 kB / 0.6962 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.7299, allocations: 8 kB / 0.6962 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009192/0.7309, allocations: 317.1 kB / 0.6965 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007987/0.7317, allocations: 43.94 kB / 0.6965 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.7332, allocations: 127.8 kB / 0.6966 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004971/0.7337, allocations: 129.8 kB / 0.6968 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008061/0.7418, allocations: 4.214 MB / 0.7009 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008735/0.7506, allocations: 6.519 MB / 0.7072 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002379/0.753, allocations: 1.804 MB / 0.709 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003615/0.7566, allocations: 1.692 MB / 0.7106 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of Backend: time 7.41e-07/0.7567, allocations: 0 / 0.7106 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01157/0.7682, allocations: 4.722 MB / 0.7153 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01894/0.7872, allocations: 9.529 MB / 0.7246 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.3731/1.16, allocations: 43.97 MB / 0.7675 GB, free: 164.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