Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001235/0.001235, allocations: 107.4 kB / 17.09 MB, free: 5.945 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.001312/0.001312, allocations: 195.4 kB / 18.02 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 223.9 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2218/0.2218, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001586, allocations: 71.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1223, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01545/0.1378, allocations: 13.18 MB / 0.5014 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009729/0.1476, allocations: 4.169 MB / 0.5055 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.1501, allocations: 67.88 kB / 0.5056 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003943/0.154, allocations: 1.857 MB / 0.5074 GB, free: 8.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004881/0.159, allocations: 1.868 MB / 0.5092 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.1604, allocations: 495 kB / 0.5097 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005514/0.1659, allocations: 3.904 MB / 0.5135 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004525/0.1704, allocations: 2.931 MB / 0.5164 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.1731, allocations: 1.405 MB / 0.5177 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/0.1763, allocations: 1.978 MB / 0.5197 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009023/0.1772, allocations: 307.9 kB / 0.52 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.1798, allocations: 1.119 MB / 0.521 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002225/0.182, allocations: 1.843 MB / 0.5228 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004456/0.1865, allocations: 2.198 MB / 0.525 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2568/0.4433, allocations: 7.326 MB / 0.5321 GB, free: 13.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4434, allocations: 0 / 0.5321 GB, free: 13.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4434, allocations: 1.25 kB / 0.5321 GB, free: 13.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003018/0.4437, allocations: 0 / 0.5321 GB, free: 13.71 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.016/0.4597, allocations: 4.89 MB / 0.5369 GB, free: 11.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.4598, allocations: 11.92 kB / 0.5369 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/0.4718, allocations: 3.137 MB / 0.54 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005803/0.4776, allocations: 2.184 MB / 0.5421 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.4779, allocations: 224.3 kB / 0.5423 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001453/0.4794, allocations: 295.4 kB / 0.5426 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02326/0.5026, allocations: 11.46 MB / 0.5538 GB, free: 9.086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/0.5028, allocations: 26.08 kB / 0.5538 GB, free: 9.086 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004929/0.5033, allocations: 134.5 kB / 0.554 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004012/0.5073, allocations: 2.635 MB / 0.5565 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01933/0.5267, allocations: 10.69 MB / 0.567 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05784/0.5845, allocations: 36.23 MB / 0.6024 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008223/0.5928, allocations: 4.417 MB / 0.6067 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003017/0.5959, allocations: 2.158 MB / 0.6088 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.5971, allocations: 1.321 MB / 0.6101 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.5972, allocations: 56.56 kB / 0.6101 GB, free: 8.586 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 7.143e-06/0.5972, allocations: 0 / 0.6101 GB, free: 8.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.0423/0.6395, allocations: 13.89 MB / 0.6237 GB, free: 10.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.6396, allocations: 73.41 kB / 0.6238 GB, free: 10.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005215/0.6448, allocations: 2.839 MB / 0.6265 GB, free: 7.754 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004748/0.6453, allocations: 65.3 kB / 0.6266 GB, free: 7.688 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002551/0.6479, allocations: 2.934 MB / 0.6295 GB, free: 4.762 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001592/0.6495, allocations: 0.9664 MB / 0.6304 GB, free: 3.805 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002801/0.6523, allocations: 1.166 MB / 0.6315 GB, free: 2.629 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.6524, allocations: 309.1 kB / 0.6318 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/0.656, allocations: 2.368 MB / 0.6342 GB, free: 15.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006185/0.6622, allocations: 5.536 MB / 0.6396 GB, free: 8.926 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/0.6743, allocations: 8.681 MB / 0.648 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/0.6745, allocations: 36 kB / 0.6481 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01903/0.6935, allocations: 8.624 MB / 0.6565 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.6937, allocations: 56 kB / 0.6565 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002019/0.6939, allocations: 108 kB / 0.6567 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003652/0.6976, allocations: 1.057 MB / 0.6577 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/0.7027, allocations: 1.337 MB / 0.659 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/0.7065, allocations: 2.596 MB / 0.6615 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004338/0.7109, allocations: 315.7 kB / 0.6618 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/0.7121, allocations: 332 kB / 0.6621 GB, free: 1.035 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 24 (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 (727): * Single equations (assignments): 718 * 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.005574/0.7177, allocations: 2.277 MB / 0.6644 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009832/0.7187, allocations: 292.2 kB / 0.6646 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.7297, allocations: 5.077 MB / 0.6696 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.511e-05/0.7299, allocations: 7.969 kB / 0.6696 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.7299, allocations: 4 kB / 0.6696 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.7311, allocations: 317.3 kB / 0.6699 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/0.7322, allocations: 49.03 kB / 0.67 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/0.7343, allocations: 127.8 kB / 0.6701 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006197/0.7349, allocations: 137.7 kB / 0.6702 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00909/0.744, allocations: 4.312 MB / 0.6744 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009001/0.7531, allocations: 6.676 MB / 0.6809 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00244/0.7556, allocations: 1.851 MB / 0.6828 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003335/0.7589, allocations: 1.737 MB / 0.6845 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of Backend: time 1.793e-06/0.7589, allocations: 0 / 0.6845 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01203/0.771, allocations: 4.82 MB / 0.6892 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02341/0.7944, allocations: 9.748 MB / 0.6987 GB, free: 11.4 MB / 0.545 GB Notification: Performance of Templates: time 0.08637/0.8809, allocations: 45.16 MB / 0.7428 GB, free: 14.39 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches