Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.475/1.475, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0007949/0.000795, allocations: 86.38 kB / 271.3 MB, free: 8.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.366/0.366, allocations: 43.57 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004062, allocations: 12 kB / 432.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1248, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3644/0.4893, allocations: 109.3 MB / 0.5867 GB, free: 8.547 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.4896, allocations: 81.94 kB / 0.5867 GB, free: 8.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.461/0.9506, allocations: 97.89 MB / 0.6823 GB, free: 91.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.9506, allocations: 0 / 0.6823 GB, free: 91.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002597/0.9509, allocations: 94.47 kB / 0.6824 GB, free: 91.98 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01846/0.9694, allocations: 4.723 MB / 0.687 GB, free: 90.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.9694, allocations: 12.5 kB / 0.687 GB, free: 90.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01621/0.9857, allocations: 3.596 MB / 0.6906 GB, free: 89.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/0.9965, allocations: 3.861 MB / 0.6943 GB, free: 89.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000521/0.997, allocations: 381.5 kB / 0.6947 GB, free: 89.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003243/1, allocations: 0.4931 MB / 0.6952 GB, free: 89.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02816/1.028, allocations: 12.26 MB / 0.7071 GB, free: 87.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/1.029, allocations: 34.98 kB / 0.7072 GB, free: 87.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009976/1.03, allocations: 234.8 kB / 0.7074 GB, free: 87.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001691/1.031, allocations: 1.335 MB / 0.7087 GB, free: 87.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02509/1.057, allocations: 11.51 MB / 0.7199 GB, free: 87.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05547/1.112, allocations: 42.26 MB / 0.7612 GB, free: 61.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008635/1.121, allocations: 5.083 MB / 0.7662 GB, free: 59.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/1.124, allocations: 2.404 MB / 0.7685 GB, free: 58.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008956/1.133, allocations: 6.872 MB / 0.7752 GB, free: 54.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/1.133, allocations: 55.34 kB / 0.7753 GB, free: 54.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 6.341e-06/1.133, allocations: 3.781 kB / 0.7753 GB, free: 54.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.03228/1.165, allocations: 16.47 MB / 0.7914 GB, free: 47.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/1.165, allocations: 69.41 kB / 0.7914 GB, free: 47.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003978/1.169, allocations: 3.21 MB / 0.7946 GB, free: 44.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002938/1.169, allocations: 56.44 kB / 0.7946 GB, free: 44.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001375/1.171, allocations: 3.304 MB / 0.7979 GB, free: 41.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008129/1.172, allocations: 0.9155 MB / 0.7988 GB, free: 40.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/1.172, allocations: 120 kB / 0.7989 GB, free: 40.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002752/1.172, allocations: 0.5706 MB / 0.7994 GB, free: 40.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002894/1.175, allocations: 2.398 MB / 0.8018 GB, free: 38.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004263/1.179, allocations: 5.807 MB / 0.8074 GB, free: 31.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008268/1.188, allocations: 8.928 MB / 0.8162 GB, free: 21.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/1.188, allocations: 36 kB / 0.8162 GB, free: 21.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=812) (initialization): time 0.01483/1.203, allocations: 8.966 MB / 0.825 GB, free: 13.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.62e-05/1.203, allocations: 56 kB / 0.825 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/1.203, allocations: 120.9 kB / 0.8251 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002952/1.206, allocations: 1.129 MB / 0.8262 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004516/1.21, allocations: 1.391 MB / 0.8276 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004854/1.215, allocations: 4.583 MB / 0.8321 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004439/1.22, allocations: 335 kB / 0.8324 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008669/1.22, allocations: 351.8 kB / 0.8327 GB, free: 6.535 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],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 (751): * Single equations (assignments): 743 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.004243/1.225, allocations: 2.436 MB / 0.8351 GB, free: 4.426 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005456/1.225, allocations: 308 kB / 0.8354 GB, free: 4.121 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006349/1.232, allocations: 4.479 MB / 0.8398 GB, free: 384 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.778e-05/1.232, allocations: 53.95 kB / 0.8398 GB, free: 336 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.232, allocations: 0 / 0.8398 GB, free: 336 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/1.232, allocations: 14.73 kB / 0.8398 GB, free: 332 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/1.251, allocations: 10.61 MB / 0.8502 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.251, allocations: 8 kB / 0.8502 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.252, allocations: 395.4 kB / 0.8506 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001814/1.254, allocations: 0.6736 MB / 0.8512 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/1.254, allocations: 50.67 kB / 0.8513 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/1.257, allocations: 2.424 MB / 0.8536 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/1.257, allocations: 11.94 kB / 0.8537 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009347/1.266, allocations: 6.857 MB / 0.8603 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/1.267, allocations: 361 kB / 0.8607 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003955/1.268, allocations: 44.7 kB / 0.8607 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.269, allocations: 145 kB / 0.8609 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/1.269, allocations: 133.7 kB / 0.861 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/1.269, allocations: 68.77 kB / 0.8611 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003135/1.273, allocations: 1.948 MB / 0.863 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/1.273, allocations: 0 / 0.863 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005139/1.278, allocations: 1.088 MB / 0.864 GB, free: 7.359 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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,body.w_a[1],body.w_a[2],body.w_a[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 (197): * Single equations (assignments): 188 * 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.0005158/1.278, allocations: 190.1 kB / 0.8642 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009595/1.288, allocations: 5.866 MB / 0.8699 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.288, allocations: 8.125 kB / 0.8699 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.2508/1.539, allocations: 2.428 MB / 0.8723 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005059/1.544, allocations: 449.4 kB / 0.8727 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02525/1.569, allocations: 13.63 MB / 0.8861 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005951/1.575, allocations: 3.759 MB / 0.8897 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005496/1.581, allocations: 2.068 MB / 0.8918 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009189/1.582, allocations: 241.3 kB / 0.892 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.663e-06/1.582, allocations: 0 / 0.892 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.07431/1.656, allocations: 34.64 MB / 0.9258 GB, free: 104.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches