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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.000867/0.0008671, allocations: 177 kB / 16.77 MB, free: 4.926 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.342/1.342, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007736/0.0007737, allocations: 92.97 kB / 271.3 MB, free: 8.23 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.3254/0.3254, allocations: 43.55 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003678, allocations: 15.98 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1221, allocations: 58.86 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3209/0.443, allocations: 104.5 MB / 0.582 GB, free: 13.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.4433, allocations: 75.97 kB / 0.5821 GB, free: 13.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2328/0.6761, allocations: 90.51 MB / 0.6705 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.6762, allocations: 0 / 0.6705 GB, free: 2.051 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002317/0.6764, allocations: 80 kB / 0.6706 GB, free: 1.973 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.243/0.9194, allocations: 4.301 MB / 0.6748 GB, free: 92.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.9195, allocations: 8.469 kB / 0.6748 GB, free: 92.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/0.9352, allocations: 3.533 MB / 0.6782 GB, free: 91.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009962/0.9452, allocations: 3.621 MB / 0.6818 GB, free: 91.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004714/0.9457, allocations: 328.5 kB / 0.6821 GB, free: 91.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002703/0.9484, allocations: 439.5 kB / 0.6825 GB, free: 91.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03054/0.979, allocations: 11.02 MB / 0.6933 GB, free: 90.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/0.9793, allocations: 29.69 kB / 0.6933 GB, free: 90.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002171/0.9815, allocations: 205.6 kB / 0.6935 GB, free: 90.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002071/0.9836, allocations: 1.228 MB / 0.6947 GB, free: 90.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/1.004, allocations: 10.59 MB / 0.705 GB, free: 90.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05346/1.057, allocations: 37.4 MB / 0.7416 GB, free: 69.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007096/1.064, allocations: 4.4 MB / 0.7459 GB, free: 67.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002641/1.067, allocations: 2.155 MB / 0.748 GB, free: 66.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008521/1.068, allocations: 1.318 MB / 0.7493 GB, free: 65.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/1.068, allocations: 51.94 kB / 0.7493 GB, free: 65.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 5.28e-06/1.068, allocations: 0 / 0.7493 GB, free: 65.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.03433/1.102, allocations: 13.77 MB / 0.7628 GB, free: 61.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/1.102, allocations: 80.59 kB / 0.7628 GB, free: 61.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003674/1.106, allocations: 2.835 MB / 0.7656 GB, free: 60.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005807/1.107, allocations: 60.16 kB / 0.7657 GB, free: 60.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001612/1.108, allocations: 2.941 MB / 0.7685 GB, free: 57.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008799/1.109, allocations: 0.9758 MB / 0.7695 GB, free: 57.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/1.11, allocations: 114.7 kB / 0.7696 GB, free: 57.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002337/1.11, allocations: 0.5616 MB / 0.7701 GB, free: 56.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/1.113, allocations: 2.333 MB / 0.7724 GB, free: 55.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004357/1.117, allocations: 5.51 MB / 0.7778 GB, free: 50.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008457/1.126, allocations: 8.63 MB / 0.7862 GB, free: 44.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/1.126, allocations: 39.34 kB / 0.7863 GB, free: 44.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01503/1.141, allocations: 8.548 MB / 0.7946 GB, free: 38.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/1.141, allocations: 52 kB / 0.7947 GB, free: 37.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001917/1.141, allocations: 112 kB / 0.7948 GB, free: 37.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003324/1.144, allocations: 1.041 MB / 0.7958 GB, free: 37.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004922/1.149, allocations: 1.339 MB / 0.7971 GB, free: 36.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/1.153, allocations: 2.46 MB / 0.7995 GB, free: 33.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004616/1.157, allocations: 320.3 kB / 0.7998 GB, free: 33.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/1.159, allocations: 341 kB / 0.8001 GB, free: 33.14 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 (722): * Single equations (assignments): 713 * 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 prepare postOptimizeDAE: time 0.005261/1.164, allocations: 2.265 MB / 0.8023 GB, free: 31.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007285/1.165, allocations: 288.3 kB / 0.8026 GB, free: 30.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009119/1.174, allocations: 5.07 MB / 0.8076 GB, free: 26.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.995e-05/1.174, allocations: 40 kB / 0.8076 GB, free: 26.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/1.174, allocations: 7.281 kB / 0.8076 GB, free: 26.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.265e-05/1.174, allocations: 10.12 kB / 0.8076 GB, free: 26.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02306/1.197, allocations: 11.62 MB / 0.819 GB, free: 16.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/1.197, allocations: 8 kB / 0.819 GB, free: 16.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001893/1.199, allocations: 426.7 kB / 0.8194 GB, free: 16.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002985/1.202, allocations: 0.9051 MB / 0.8203 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004206/1.202, allocations: 61.98 kB / 0.8203 GB, free: 16.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/1.205, allocations: 2.286 MB / 0.8226 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.205, allocations: 8 kB / 0.8226 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/1.216, allocations: 7.503 MB / 0.8299 GB, free: 7.246 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008144/1.217, allocations: 333 kB / 0.8302 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006918/1.217, allocations: 55.83 kB / 0.8303 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/1.219, allocations: 140.5 kB / 0.8304 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003865/1.219, allocations: 163.1 kB / 0.8306 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/1.22, allocations: 75.59 kB / 0.8306 GB, free: 6.594 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003182/1.223, allocations: 1.728 MB / 0.8323 GB, free: 5.172 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.223, allocations: 0 / 0.8323 GB, free: 5.172 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005383/1.228, allocations: 1.014 MB / 0.8333 GB, free: 4.164 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_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 (216): * Single equations (assignments): 207 * 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.0008147/1.229, allocations: 196 kB / 0.8335 GB, free: 3.977 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0104/1.239, allocations: 6.157 MB / 0.8395 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/1.239, allocations: 0 / 0.8395 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005265/1.245, allocations: 2.592 MB / 0.842 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005939/1.251, allocations: 435.3 kB / 0.8424 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02561/1.276, allocations: 13.03 MB / 0.8552 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006879/1.283, allocations: 3.514 MB / 0.8586 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006525/1.29, allocations: 2.092 MB / 0.8606 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/1.291, allocations: 243.4 kB / 0.8609 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/1.291, allocations: 0 / 0.8609 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of Templates: time 0.3081/1.599, allocations: 31.89 MB / 0.892 GB, free: 106.2 MB / 0.5105 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches