Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009767/0.0009766, allocations: 175.7 kB / 16.76 MB, free: 5.02 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006915/0.0006916, allocations: 90.39 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3259/0.3259, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 12 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1143, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/0.4557, allocations: 104.5 MB / 0.582 GB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.456, allocations: 79.95 kB / 0.5821 GB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2386/0.6946, allocations: 90.84 MB / 0.6708 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.6947, allocations: 0 / 0.6708 GB, free: 1.879 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002371/0.6949, allocations: 83.98 kB / 0.6709 GB, free: 1.797 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1720 * Number of variables: 1720 Notification: Performance of Generate backend data structure: time 0.2597/0.9547, allocations: 4.334 MB / 0.6752 GB, free: 92.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.9548, allocations: 10.91 kB / 0.6752 GB, free: 92.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.9708, allocations: 3.546 MB / 0.6786 GB, free: 92.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009604/0.9804, allocations: 3.657 MB / 0.6822 GB, free: 91.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/0.9808, allocations: 341.4 kB / 0.6825 GB, free: 91.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002503/0.9833, allocations: 446 kB / 0.6829 GB, free: 91.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02746/1.011, allocations: 11.45 MB / 0.6941 GB, free: 90.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/1.011, allocations: 26.5 kB / 0.6942 GB, free: 90.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001286/1.012, allocations: 203.9 kB / 0.6943 GB, free: 90.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001513/1.014, allocations: 1.258 MB / 0.6956 GB, free: 90.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02075/1.035, allocations: 11 MB / 0.7063 GB, free: 90.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06198/1.097, allocations: 38.09 MB / 0.7435 GB, free: 69.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009052/1.106, allocations: 4.689 MB / 0.7481 GB, free: 67.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003037/1.109, allocations: 2.236 MB / 0.7503 GB, free: 66.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001/1.11, allocations: 1.32 MB / 0.7516 GB, free: 65.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/1.11, allocations: 55.64 kB / 0.7516 GB, free: 64.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 7.123e-06/1.11, allocations: 0 / 0.7516 GB, free: 64.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.03667/1.147, allocations: 13.82 MB / 0.7651 GB, free: 60.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/1.147, allocations: 74.44 kB / 0.7652 GB, free: 60.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005421/1.152, allocations: 2.838 MB / 0.768 GB, free: 59.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005774/1.153, allocations: 57.52 kB / 0.768 GB, free: 59.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001836/1.155, allocations: 2.967 MB / 0.7709 GB, free: 57.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.156, allocations: 0.9438 MB / 0.7718 GB, free: 56.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006618/1.157, allocations: 111.9 kB / 0.7719 GB, free: 56.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005323/1.157, allocations: 0.5496 MB / 0.7725 GB, free: 56.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003813/1.161, allocations: 2.279 MB / 0.7747 GB, free: 55.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005608/1.167, allocations: 5.456 MB / 0.78 GB, free: 50.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009892/1.177, allocations: 8.501 MB / 0.7883 GB, free: 44.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00019/1.177, allocations: 36.56 kB / 0.7884 GB, free: 44.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=766) (initialization): time 0.01671/1.194, allocations: 8.408 MB / 0.7966 GB, free: 36.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/1.194, allocations: 52 kB / 0.7966 GB, free: 36.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002033/1.194, allocations: 112 kB / 0.7967 GB, free: 36.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003235/1.197, allocations: 1.016 MB / 0.7977 GB, free: 36.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004366/1.202, allocations: 1.318 MB / 0.799 GB, free: 34.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/1.204, allocations: 2.467 MB / 0.8014 GB, free: 32.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004317/1.209, allocations: 322.5 kB / 0.8017 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/1.21, allocations: 330.2 kB / 0.802 GB, free: 32.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * 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 (713): * Single equations (assignments): 704 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005381/1.215, allocations: 2.281 MB / 0.8043 GB, free: 30.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008086/1.216, allocations: 288.2 kB / 0.8046 GB, free: 29.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009362/1.225, allocations: 4.903 MB / 0.8093 GB, free: 25.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.41e-05/1.225, allocations: 47 kB / 0.8094 GB, free: 25.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.225, allocations: 7.75 kB / 0.8094 GB, free: 25.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.321e-05/1.226, allocations: 11.25 kB / 0.8094 GB, free: 25.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/1.249, allocations: 11.52 MB / 0.8206 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-05/1.249, allocations: 11.62 kB / 0.8207 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/1.251, allocations: 415.1 kB / 0.8211 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002722/1.254, allocations: 0.611 MB / 0.8217 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004824/1.254, allocations: 55.59 kB / 0.8217 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/1.256, allocations: 2.07 MB / 0.8237 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.256, allocations: 11.94 kB / 0.8237 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/1.267, allocations: 6.961 MB / 0.8305 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000878/1.268, allocations: 332.8 kB / 0.8309 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007311/1.269, allocations: 54.5 kB / 0.8309 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/1.27, allocations: 122.5 kB / 0.831 GB, free: 6.418 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003984/1.271, allocations: 163.9 kB / 0.8312 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/1.271, allocations: 74.14 kB / 0.8312 GB, free: 6.242 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003285/1.274, allocations: 1.727 MB / 0.8329 GB, free: 4.719 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.274, allocations: 0 / 0.8329 GB, free: 4.719 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005509/1.28, allocations: 0.9941 MB / 0.8339 GB, free: 3.727 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 12 (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,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 198 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006561/1.28, allocations: 211.1 kB / 0.8341 GB, free: 3.527 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1916:5-1918:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1913:5-1915:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01058/1.291, allocations: 5.964 MB / 0.8399 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/1.291, allocations: 4 kB / 0.8399 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004589/1.296, allocations: 2.382 MB / 0.8423 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006524/1.302, allocations: 422.4 kB / 0.8427 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/1.329, allocations: 13 MB / 0.8554 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006951/1.336, allocations: 3.525 MB / 0.8588 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009722/1.346, allocations: 2.072 MB / 0.8608 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001943/1.348, allocations: 231.4 kB / 0.8611 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of SimCode: time 1.753e-06/1.348, allocations: 0 / 0.8611 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of Templates: time 0.3081/1.656, allocations: 30.96 MB / 0.8913 GB, free: 106.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit2/FreeMotionScalarInit2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches