Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 215.5 kB / 24.49 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2851/0.2851, allocations: 46.96 MB / 361.6 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 71.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3823, allocations: 66.03 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01465/0.3969, allocations: 11.05 MB / 0.5726 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.4071, allocations: 3.869 MB / 0.5764 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/0.4094, allocations: 83.62 kB / 0.5765 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004335/0.4137, allocations: 1.814 MB / 0.5783 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005585/0.4193, allocations: 1.818 MB / 0.58 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.421, allocations: 495 kB / 0.5805 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005851/0.4268, allocations: 3.775 MB / 0.5842 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003445/0.4303, allocations: 2.359 MB / 0.5865 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.4324, allocations: 1.363 MB / 0.5878 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/0.4352, allocations: 2.067 MB / 0.5898 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005596/0.4357, allocations: 284 kB / 0.5901 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.4377, allocations: 1.018 MB / 0.5911 GB, free: 6.066 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001865/0.4396, allocations: 1.772 MB / 0.5928 GB, free: 4.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.4415, allocations: 1.486 MB / 0.5943 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008482/0.45, allocations: 6.932 MB / 0.6011 GB, free: 11.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.45, allocations: 3.938 kB / 0.6011 GB, free: 11.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.45, allocations: 0 / 0.6011 GB, free: 11.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000189/0.4502, allocations: 0 / 0.6011 GB, free: 11.83 MB / 446.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.01196/0.4622, allocations: 4.823 MB / 0.6058 GB, free: 6.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.4622, allocations: 8.031 kB / 0.6058 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.4735, allocations: 3.141 MB / 0.6088 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00661/0.4801, allocations: 2.004 MB / 0.6108 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003598/0.4805, allocations: 221.8 kB / 0.611 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00166/0.4822, allocations: 283.9 kB / 0.6113 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01969/0.5018, allocations: 10.96 MB / 0.622 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.322e-05/0.5019, allocations: 27.81 kB / 0.622 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004106/0.5024, allocations: 131.8 kB / 0.6221 GB, free: 5.703 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004125/0.5065, allocations: 2.503 MB / 0.6246 GB, free: 3.195 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01964/0.5261, allocations: 10.26 MB / 0.6346 GB, free: 8.914 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05284/0.579, allocations: 32.11 MB / 0.666 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007655/0.5866, allocations: 3.217 MB / 0.6691 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00295/0.5896, allocations: 1.972 MB / 0.671 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008948/0.5905, allocations: 437.2 kB / 0.6714 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/0.5905, allocations: 52.56 kB / 0.6715 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=235): time 7.404e-06/0.5905, allocations: 7.922 kB / 0.6715 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=256): time 0.03984/0.6304, allocations: 13.51 MB / 0.6847 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.6304, allocations: 73.41 kB / 0.6848 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/0.6342, allocations: 2.792 MB / 0.6875 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004297/0.6346, allocations: 65.69 kB / 0.6876 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002713/0.6373, allocations: 2.94 MB / 0.6904 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001481/0.6388, allocations: 0.9998 MB / 0.6914 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/0.6406, allocations: 1.128 MB / 0.6925 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6407, allocations: 312.9 kB / 0.6928 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0035/0.6442, allocations: 2.311 MB / 0.6951 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006201/0.6504, allocations: 5.399 MB / 0.7003 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/0.6626, allocations: 8.462 MB / 0.7086 GB, free: 9.195 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/0.6627, allocations: 28 kB / 0.7086 GB, free: 9.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01609/0.6788, allocations: 8.422 MB / 0.7168 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.217e-05/0.6789, allocations: 52 kB / 0.7169 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/0.679, allocations: 108 kB / 0.717 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00384/0.6829, allocations: 1.033 MB / 0.718 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004261/0.6871, allocations: 1.302 MB / 0.7193 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.6902, allocations: 2.462 MB / 0.7217 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/0.6934, allocations: 307.8 kB / 0.722 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005585/0.694, allocations: 335.9 kB / 0.7223 GB, free: 11.03 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.003615/0.6976, allocations: 2.17 MB / 0.7244 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/0.6981, allocations: 282.1 kB / 0.7247 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009585/0.7077, allocations: 4.964 MB / 0.7295 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.911e-05/0.7077, allocations: 11.95 kB / 0.7295 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.7077, allocations: 0 / 0.7295 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.7083, allocations: 238 kB / 0.7298 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.7087, allocations: 36 kB / 0.7298 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.7097, allocations: 127.8 kB / 0.7299 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000311/0.71, allocations: 125.7 kB / 0.73 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3094/1.019, allocations: 4.204 MB / 0.7342 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008439/1.028, allocations: 6.525 MB / 0.7405 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001762/1.03, allocations: 1.646 MB / 0.7421 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002004/1.032, allocations: 1.571 MB / 0.7437 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of Backend: time 3.1e-07/1.032, allocations: 0 / 0.7437 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008043/1.04, allocations: 4.328 MB / 0.7479 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01237/1.052, allocations: 9.583 MB / 0.7573 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.06406/1.116, allocations: 47.42 MB / 0.8036 GB, free: 94.37 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.269746008998482]