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.001284/0.001284, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.321/1.321, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008402/0.0008403, allocations: 89.55 kB / 267.1 MB, free: 9.262 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.3292/0.3292, allocations: 43.47 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.657e-05, allocations: 4 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 58.83 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3836/0.5004, allocations: 104.3 MB / 0.5747 GB, free: 1.578 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.5006, allocations: 82.41 kB / 0.5747 GB, free: 1.539 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2144/0.715, allocations: 91.96 MB / 0.6646 GB, free: 14.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7151, allocations: 0 / 0.6646 GB, free: 14.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000136/0.7152, allocations: 80 kB / 0.6646 GB, free: 14.17 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.01352/0.7287, allocations: 4.311 MB / 0.6688 GB, free: 9.801 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.7288, allocations: 11.97 kB / 0.6689 GB, free: 9.789 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/0.7437, allocations: 3.578 MB / 0.6723 GB, free: 6.199 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/0.7555, allocations: 4.713 MB / 0.677 GB, free: 1.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002947/0.7558, allocations: 336.8 kB / 0.6773 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002076/0.7579, allocations: 441.2 kB / 0.6777 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0242/0.7821, allocations: 11.41 MB / 0.6888 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.7823, allocations: 43.55 kB / 0.6889 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007081/0.783, allocations: 195.9 kB / 0.6891 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001578/0.7846, allocations: 1.255 MB / 0.6903 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2782/1.063, allocations: 10.95 MB / 0.701 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04941/1.112, allocations: 38.13 MB / 0.7382 GB, free: 86.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007108/1.119, allocations: 4.653 MB / 0.7428 GB, free: 85.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002541/1.122, allocations: 2.227 MB / 0.7449 GB, free: 84.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009317/1.123, allocations: 1.323 MB / 0.7462 GB, free: 83.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/1.123, allocations: 50.5 kB / 0.7463 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 4.378e-06/1.123, allocations: 0 / 0.7463 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=256): time 0.02967/1.153, allocations: 11.28 MB / 0.7573 GB, free: 80.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/1.153, allocations: 74.25 kB / 0.7574 GB, free: 80.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/1.157, allocations: 2.508 MB / 0.7598 GB, free: 79.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/1.157, allocations: 59.41 kB / 0.7599 GB, free: 79.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/1.158, allocations: 2.966 MB / 0.7628 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007104/1.159, allocations: 0.9367 MB / 0.7637 GB, free: 76.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/1.159, allocations: 113.7 kB / 0.7638 GB, free: 76.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000263/1.159, allocations: 0.555 MB / 0.7643 GB, free: 76.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/1.162, allocations: 2.231 MB / 0.7665 GB, free: 75.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00481/1.167, allocations: 5.39 MB / 0.7718 GB, free: 70.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005513/1.172, allocations: 3.511 MB / 0.7752 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.713e-05/1.172, allocations: 35.98 kB / 0.7752 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=766) (initialization): time 0.0138/1.186, allocations: 8.319 MB / 0.7834 GB, free: 66.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.286e-05/1.186, allocations: 52.88 kB / 0.7834 GB, free: 66.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001032/1.186, allocations: 109.3 kB / 0.7835 GB, free: 66.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/1.19, allocations: 1.038 MB / 0.7845 GB, free: 66.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00409/1.194, allocations: 1.314 MB / 0.7858 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/1.196, allocations: 2.464 MB / 0.7882 GB, free: 65.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00408/1.2, allocations: 316.4 kB / 0.7885 GB, free: 64.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006873/1.201, allocations: 330.6 kB / 0.7888 GB, free: 64.93 MB / 0.4948 GB 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 () * 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.0008142/1.202, allocations: 0.5255 MB / 0.7893 GB, free: 64.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004621/1.202, allocations: 282.2 kB / 0.7896 GB, free: 64.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008199/1.21, allocations: 4.867 MB / 0.7944 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.725e-05/1.21, allocations: 41.97 kB / 0.7944 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/1.21, allocations: 3.469 kB / 0.7944 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/1.21, allocations: 11.77 kB / 0.7944 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02047/1.231, allocations: 11.47 MB / 0.8056 GB, free: 58.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.231, allocations: 7.906 kB / 0.8056 GB, free: 58.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/1.233, allocations: 405.2 kB / 0.806 GB, free: 58.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002719/1.235, allocations: 0.6231 MB / 0.8066 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002263/1.236, allocations: 54.78 kB / 0.8067 GB, free: 58.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/1.237, allocations: 2.062 MB / 0.8087 GB, free: 57.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/1.237, allocations: 18.7 kB / 0.8087 GB, free: 57.15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009706/1.247, allocations: 7.68 MB / 0.8162 GB, free: 51.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009707/1.248, allocations: 336.7 kB / 0.8165 GB, free: 50.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007227/1.249, allocations: 47.56 kB / 0.8166 GB, free: 50.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/1.25, allocations: 126.3 kB / 0.8167 GB, free: 50.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/1.251, allocations: 157.3 kB / 0.8169 GB, free: 50.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/1.251, allocations: 82.42 kB / 0.8169 GB, free: 50.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002923/1.254, allocations: 1.702 MB / 0.8186 GB, free: 48.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.51e-07/1.254, allocations: 4 kB / 0.8186 GB, free: 48.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004392/1.258, allocations: 0.9901 MB / 0.8196 GB, free: 48 MB / 0.4948 GB 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 () * 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.0004552/1.259, allocations: 198 kB / 0.8198 GB, free: 47.81 MB / 0.4948 GB [/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 was selected as a continuous variable. [/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 was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.008425/1.267, allocations: 5.903 MB / 0.8255 GB, free: 42.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/1.267, allocations: 4 kB / 0.8255 GB, free: 42.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003757/1.271, allocations: 2.354 MB / 0.8278 GB, free: 40.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/1.274, allocations: 389.4 kB / 0.8282 GB, free: 39.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.291, allocations: 9.265 MB / 0.8372 GB, free: 31.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003353/1.294, allocations: 3.612 MB / 0.8408 GB, free: 28.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004282/1.299, allocations: 2.082 MB / 0.8428 GB, free: 27.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006314/1.299, allocations: 226.5 kB / 0.843 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of SimCode: time 9.71e-07/1.299, allocations: 3.938 kB / 0.843 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.04967/1.349, allocations: 30.86 MB / 0.8732 GB, free: 2.109 MB / 0.4948 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/jenkins/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