Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008804/0.0008804, allocations: 97.75 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2927/0.2927, allocations: 44.23 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003134, allocations: 12 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3011, allocations: 61.89 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4432, allocations: 105.6 MB / 0.6127 GB, free: 5.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4435, allocations: 83.94 kB / 0.6128 GB, free: 5.398 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4779/0.9214, allocations: 94.35 MB / 0.7049 GB, free: 96.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.9214, allocations: 0 / 0.7049 GB, free: 96.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001561/0.9216, allocations: 91.06 kB / 0.705 GB, free: 96.86 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.0161/0.9377, allocations: 4.559 MB / 0.7094 GB, free: 94.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.9377, allocations: 9.625 kB / 0.7095 GB, free: 94.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01518/0.9529, allocations: 3.573 MB / 0.7129 GB, free: 94.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/0.9671, allocations: 4.64 MB / 0.7175 GB, free: 93.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005304/0.9677, allocations: 346.2 kB / 0.7178 GB, free: 93.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002867/0.9706, allocations: 471.8 kB / 0.7183 GB, free: 93.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02865/0.9992, allocations: 11.2 MB / 0.7292 GB, free: 90.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/0.9994, allocations: 23.44 kB / 0.7292 GB, free: 90.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001495/1.001, allocations: 202.8 kB / 0.7294 GB, free: 90.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0015/1.002, allocations: 1.207 MB / 0.7306 GB, free: 90.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02074/1.023, allocations: 10.68 MB / 0.741 GB, free: 86.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05074/1.074, allocations: 37.61 MB / 0.7777 GB, free: 63.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006508/1.081, allocations: 4.275 MB / 0.7819 GB, free: 59.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008923/1.081, allocations: 1.313 MB / 0.7832 GB, free: 57.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/1.082, allocations: 52.56 kB / 0.7832 GB, free: 57.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 5.611e-06/1.082, allocations: 0 / 0.7832 GB, free: 57.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.03335/1.115, allocations: 13.96 MB / 0.7969 GB, free: 45.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/1.115, allocations: 77.34 kB / 0.7969 GB, free: 45.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003404/1.118, allocations: 2.593 MB / 0.7995 GB, free: 42.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002994/1.119, allocations: 57.7 kB / 0.7995 GB, free: 42.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001134/1.12, allocations: 3.036 MB / 0.8025 GB, free: 39.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006769/1.121, allocations: 0.9452 MB / 0.8034 GB, free: 38.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/1.121, allocations: 116 kB / 0.8035 GB, free: 38.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002282/1.121, allocations: 0.554 MB / 0.8041 GB, free: 38.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/1.124, allocations: 2.311 MB / 0.8063 GB, free: 35.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003783/1.127, allocations: 5.513 MB / 0.8117 GB, free: 28.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/1.131, allocations: 3.568 MB / 0.8152 GB, free: 25.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.759e-05/1.131, allocations: 32 kB / 0.8152 GB, free: 25.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01228/1.143, allocations: 8.537 MB / 0.8236 GB, free: 16.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/1.144, allocations: 52.97 kB / 0.8236 GB, free: 16.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.861e-05/1.144, allocations: 112 kB / 0.8237 GB, free: 16.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003136/1.147, allocations: 1.056 MB / 0.8248 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/1.151, allocations: 1.333 MB / 0.8261 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/1.153, allocations: 2.505 MB / 0.8285 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003899/1.157, allocations: 311.7 kB / 0.8288 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.158, allocations: 347.4 kB / 0.8291 GB, free: 10.65 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (721): * Single equations (assignments): 712 * 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.004089/1.162, allocations: 2.31 MB / 0.8314 GB, free: 8.328 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004864/1.163, allocations: 292.2 kB / 0.8317 GB, free: 8.039 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007439/1.17, allocations: 4.964 MB / 0.8365 GB, free: 3.012 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.122e-05/1.17, allocations: 44 kB / 0.8366 GB, free: 2.969 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.17, allocations: 0 / 0.8366 GB, free: 2.969 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/1.17, allocations: 11.95 kB / 0.8366 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02055/1.191, allocations: 11.55 MB / 0.8479 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/1.191, allocations: 8 kB / 0.8479 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/1.192, allocations: 403.4 kB / 0.8482 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003077/1.196, allocations: 0.9145 MB / 0.8491 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002225/1.196, allocations: 59.97 kB / 0.8492 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/1.198, allocations: 2.304 MB / 0.8514 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.198, allocations: 11.94 kB / 0.8515 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/1.21, allocations: 8.032 MB / 0.8593 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009269/1.211, allocations: 333.3 kB / 0.8596 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/1.211, allocations: 51.94 kB / 0.8597 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.212, allocations: 131.8 kB / 0.8598 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003122/1.212, allocations: 165.4 kB / 0.8599 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/1.213, allocations: 71.98 kB / 0.86 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002701/1.215, allocations: 1.763 MB / 0.8617 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.2e-07/1.215, allocations: 0 / 0.8617 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004678/1.22, allocations: 1.023 MB / 0.8627 GB, free: 7.422 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.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 (206): * Single equations (assignments): 197 * 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.0005406/1.221, allocations: 201.7 kB / 0.8629 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01012/1.231, allocations: 6.084 MB / 0.8689 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.231, allocations: 0 / 0.8689 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.262/1.493, allocations: 2.54 MB / 0.8714 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/1.495, allocations: 466.4 kB / 0.8718 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/1.516, allocations: 13.14 MB / 0.8846 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003875/1.52, allocations: 3.686 MB / 0.8882 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004822/1.525, allocations: 2.098 MB / 0.8903 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008081/1.525, allocations: 234.9 kB / 0.8905 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.432e-06/1.525, allocations: 0 / 0.8905 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.06891/1.594, allocations: 32.84 MB / 0.9226 GB, free: 109.7 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches