Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 115.8 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001257/0.001257, allocations: 209.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2299/0.2299, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 77.56 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1791, allocations: 62.44 MB / 479.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.3172/0.4963, allocations: 38.14 MB / 0.5055 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.5171, allocations: 8.316 MB / 0.5136 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009818/0.5271, allocations: 160.5 kB / 0.5138 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00519/0.5323, allocations: 2.258 MB / 0.516 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006661/0.539, allocations: 1.779 MB / 0.5177 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.5411, allocations: 0.5401 MB / 0.5182 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007306/0.5484, allocations: 4.167 MB / 0.5223 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006267/0.5547, allocations: 3.737 MB / 0.526 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.5583, allocations: 1.579 MB / 0.5275 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/0.5622, allocations: 2.345 MB / 0.5298 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001568/0.5638, allocations: 348.3 kB / 0.5301 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003809/0.5676, allocations: 1.224 MB / 0.5313 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002191/0.5698, allocations: 2.02 MB / 0.5333 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003023/0.5728, allocations: 2.391 MB / 0.5356 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.5851, allocations: 7.54 MB / 0.543 GB, free: 12.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5852, allocations: 0 / 0.543 GB, free: 12.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5852, allocations: 0 / 0.543 GB, free: 12.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003014/0.5855, allocations: 0 / 0.543 GB, free: 12.2 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1811 * Number of variables: 1811 Notification: Performance of Generate backend data structure: time 0.01516/0.6006, allocations: 5.348 MB / 0.5482 GB, free: 7.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.6007, allocations: 8.031 kB / 0.5482 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.6113, allocations: 3.169 MB / 0.5513 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004604/0.6159, allocations: 2.244 MB / 0.5535 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.6161, allocations: 264.3 kB / 0.5538 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006265/0.6167, allocations: 345.5 kB / 0.5541 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02305/0.6398, allocations: 12.17 MB / 0.566 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.64, allocations: 27.72 kB / 0.566 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005023/0.6405, allocations: 167.2 kB / 0.5662 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004214/0.6447, allocations: 2.632 MB / 0.5687 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02284/0.6675, allocations: 11.21 MB / 0.5797 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06617/0.7338, allocations: 39.12 MB / 0.6179 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.745, allocations: 4.981 MB / 0.6227 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003507/0.7485, allocations: 2.366 MB / 0.6251 GB, free: 7.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01265/0.7612, allocations: 6.818 MB / 0.6317 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.384e-05/0.7613, allocations: 56.55 kB / 0.6318 GB, free: 264 kB / 478.1 MB Notification: Performance of pre-optimization done (n=226): time 6.402e-06/0.7613, allocations: 0 / 0.6318 GB, free: 264 kB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.04072/0.802, allocations: 16.17 MB / 0.6476 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.8021, allocations: 77.34 kB / 0.6476 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006224/0.8084, allocations: 3.112 MB / 0.6507 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004839/0.8089, allocations: 63.88 kB / 0.6507 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002763/0.8116, allocations: 3.188 MB / 0.6538 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001427/0.8131, allocations: 0.8828 MB / 0.6547 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002973/0.8161, allocations: 1.205 MB / 0.6559 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.8162, allocations: 301.1 kB / 0.6562 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004236/0.8205, allocations: 2.382 MB / 0.6585 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007332/0.8278, allocations: 5.693 MB / 0.6641 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/0.8407, allocations: 8.768 MB / 0.6726 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001744/0.841, allocations: 32 kB / 0.6727 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=795) (initialization): time 0.02407/0.865, allocations: 8.842 MB / 0.6813 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000295/0.8654, allocations: 60.25 kB / 0.6813 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003861/0.8658, allocations: 119.9 kB / 0.6815 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004031/0.8699, allocations: 1.137 MB / 0.6826 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0051/0.875, allocations: 1.349 MB / 0.6839 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009798/0.8848, allocations: 6.939 MB / 0.6907 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004986/0.8898, allocations: 320.9 kB / 0.691 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/0.8912, allocations: 343.9 kB / 0.6913 GB, free: 15.57 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 32 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (734): * Single equations (assignments): 726 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.006184/0.8974, allocations: 2.355 MB / 0.6936 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/0.8985, allocations: 300.1 kB / 0.6939 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009116/0.9076, allocations: 4.389 MB / 0.6982 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.716e-05/0.9077, allocations: 44.11 kB / 0.6982 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/0.9078, allocations: 4 kB / 0.6982 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/0.9078, allocations: 15.97 kB / 0.6982 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2889/1.197, allocations: 10.31 MB / 0.7083 GB, free: 191.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/1.197, allocations: 5.25 kB / 0.7083 GB, free: 191.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/1.199, allocations: 381.8 kB / 0.7087 GB, free: 191.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/1.201, allocations: 0.6705 MB / 0.7093 GB, free: 191.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002771/1.201, allocations: 51.73 kB / 0.7094 GB, free: 191.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/1.203, allocations: 2.574 MB / 0.7119 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.203, allocations: 9.219 kB / 0.7119 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.214, allocations: 6.725 MB / 0.7185 GB, free: 188.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009504/1.215, allocations: 338.8 kB / 0.7188 GB, free: 188.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004037/1.215, allocations: 41.25 kB / 0.7188 GB, free: 188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.216, allocations: 147.1 kB / 0.719 GB, free: 188 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/1.217, allocations: 129.4 kB / 0.7191 GB, free: 188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/1.217, allocations: 68 kB / 0.7191 GB, free: 188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003419/1.22, allocations: 1.892 MB / 0.721 GB, free: 187.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/1.22, allocations: 0 / 0.721 GB, free: 187.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004812/1.225, allocations: 1.033 MB / 0.722 GB, free: 187.2 MB / 0.545 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 (187): * Single equations (assignments): 178 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004844/1.226, allocations: 190.5 kB / 0.7222 GB, free: 187.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01409/1.24, allocations: 9.393 MB / 0.7314 GB, free: 185 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.24, allocations: 3.875 kB / 0.7314 GB, free: 185 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003418/1.243, allocations: 2.406 MB / 0.7337 GB, free: 184.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/1.246, allocations: 483.6 kB / 0.7342 GB, free: 183.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/1.263, allocations: 13.41 MB / 0.7473 GB, free: 175.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004327/1.267, allocations: 3.627 MB / 0.7508 GB, free: 172.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004382/1.272, allocations: 2.025 MB / 0.7528 GB, free: 170.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008286/1.272, allocations: 227 kB / 0.753 GB, free: 170.7 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/1.272, allocations: 0 / 0.753 GB, free: 170.7 MB / 0.545 GB Notification: Performance of Templates: time 0.0538/1.326, allocations: 36.79 MB / 0.7889 GB, free: 135 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches