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.001627/0.001626, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008167/0.0008168, allocations: 90.62 kB / 261.8 MB, free: 1.613 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.1869/0.1869, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.045e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 58.85 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3828/0.4958, allocations: 103.6 MB / 0.5671 GB, free: 8.035 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.496, allocations: 81.52 kB / 0.5672 GB, free: 7.996 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2176/0.7136, allocations: 90 MB / 0.6551 GB, free: 5.949 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.666e-06/0.7137, allocations: 0 / 0.6551 GB, free: 5.949 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001453/0.7138, allocations: 80 kB / 0.6552 GB, free: 5.871 MB / 458.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.01591/0.7298, allocations: 4.266 MB / 0.6594 GB, free: 1.539 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.7298, allocations: 8.031 kB / 0.6594 GB, free: 1.531 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/0.7452, allocations: 3.566 MB / 0.6629 GB, free: 13.95 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/0.7586, allocations: 4.678 MB / 0.6674 GB, free: 9.223 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/0.759, allocations: 140 kB / 0.6676 GB, free: 9.086 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002951/0.7619, allocations: 259.9 kB / 0.6678 GB, free: 8.832 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01497/0.7769, allocations: 7.788 MB / 0.6754 GB, free: 1.035 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02439/0.8014, allocations: 10.21 MB / 0.6854 GB, free: 6.344 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000182/0.8016, allocations: 31.72 kB / 0.6854 GB, free: 6.312 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009918/0.8026, allocations: 15.94 kB / 0.6854 GB, free: 6.297 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001995/0.8046, allocations: 1.231 MB / 0.6866 GB, free: 5.062 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3661/1.171, allocations: 34.78 MB / 0.7206 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004788/1.176, allocations: 4.013 MB / 0.7245 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002671/1.178, allocations: 2.08 MB / 0.7265 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/1.179, allocations: 1.314 MB / 0.7278 GB, free: 110 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/1.179, allocations: 54.59 kB / 0.7279 GB, free: 110 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=246): time 5.65e-06/1.179, allocations: 0 / 0.7279 GB, free: 110 MB / 0.4948 GB Notification: Performance of matching and sorting (n=266): time 0.02372/1.203, allocations: 11.99 MB / 0.7396 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/1.203, allocations: 81.59 kB / 0.7397 GB, free: 109 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003239/1.207, allocations: 2.419 MB / 0.742 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003682/1.207, allocations: 25.7 kB / 0.7421 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001361/1.208, allocations: 3.027 MB / 0.745 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007924/1.209, allocations: 0.9581 MB / 0.7459 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/1.209, allocations: 0 / 0.7459 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002644/1.21, allocations: 0.5801 MB / 0.7465 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/1.212, allocations: 2.254 MB / 0.7487 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003606/1.216, allocations: 5.658 MB / 0.7542 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/1.219, allocations: 3.615 MB / 0.7578 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.776e-05/1.219, allocations: 34.03 kB / 0.7578 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01188/1.231, allocations: 8.069 MB / 0.7657 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.105e-05/1.231, allocations: 56.88 kB / 0.7657 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/1.232, allocations: 122.7 kB / 0.7659 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003468/1.235, allocations: 1.064 MB / 0.7669 GB, free: 99.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004247/1.239, allocations: 1.427 MB / 0.7683 GB, free: 99.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/1.241, allocations: 2.397 MB / 0.7706 GB, free: 98.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004027/1.245, allocations: 212.5 kB / 0.7708 GB, free: 98.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007385/1.246, allocations: 365.2 kB / 0.7712 GB, free: 98.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 548 * 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 (768): * Single equations (assignments): 759 * 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.000865/1.247, allocations: 418.2 kB / 0.7716 GB, free: 97.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/1.247, allocations: 293 kB / 0.7719 GB, free: 97.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007656/1.255, allocations: 4.912 MB / 0.7767 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.523e-05/1.255, allocations: 47.66 kB / 0.7767 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/1.255, allocations: 0 / 0.7767 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.297e-05/1.255, allocations: 11.62 kB / 0.7767 GB, free: 95.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/1.272, allocations: 10.45 MB / 0.7869 GB, free: 92.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/1.272, allocations: 7.5 kB / 0.7869 GB, free: 92.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.274, allocations: 426.2 kB / 0.7873 GB, free: 92.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003133/1.277, allocations: 0.9137 MB / 0.7882 GB, free: 92.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002444/1.277, allocations: 35.59 kB / 0.7883 GB, free: 92.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/1.279, allocations: 2.182 MB / 0.7904 GB, free: 90.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.279, allocations: 15.75 kB / 0.7904 GB, free: 90.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009201/1.288, allocations: 8.035 MB / 0.7983 GB, free: 84.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005756/1.289, allocations: 328 kB / 0.7986 GB, free: 84.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003389/1.289, allocations: 22.95 kB / 0.7986 GB, free: 84.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.291, allocations: 110 kB / 0.7987 GB, free: 84.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/1.291, allocations: 164.4 kB / 0.7989 GB, free: 84.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/1.291, allocations: 79.73 kB / 0.7989 GB, free: 84.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001832/1.293, allocations: 1.584 MB / 0.8005 GB, free: 82.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.293, allocations: 0 / 0.8005 GB, free: 82.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003948/1.297, allocations: 0.8752 MB / 0.8013 GB, free: 82.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 208 * 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.0004173/1.297, allocations: 169.6 kB / 0.8015 GB, free: 81.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008466/1.306, allocations: 5.953 MB / 0.8073 GB, free: 76.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.306, allocations: 0 / 0.8073 GB, free: 76.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003579/1.309, allocations: 2.555 MB / 0.8098 GB, free: 74.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/1.311, allocations: 285.8 kB / 0.8101 GB, free: 74.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.326, allocations: 9.288 MB / 0.8191 GB, free: 65.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003329/1.329, allocations: 3.597 MB / 0.8227 GB, free: 62.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004333/1.333, allocations: 2.209 MB / 0.8248 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000687/1.334, allocations: 238.4 kB / 0.825 GB, free: 61.33 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/1.334, allocations: 2.625 kB / 0.825 GB, free: 61.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.04729/1.381, allocations: 28.74 MB / 0.8531 GB, free: 38.14 MB / 0.4948 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/jenkins/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