Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009855/0.0009855, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4075/0.4075, allocations: 43.58 MB / 314.6 MB, free: 8.727 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000553/0.0005531, allocations: 16 kB / 384 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1581, allocations: 58.87 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3514/0.5096, allocations: 81.36 MB / 0.5119 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05623/0.5659, allocations: 16.61 MB / 0.5281 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02695/0.5929, allocations: 378.9 kB / 0.5285 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01935/0.6123, allocations: 4.279 MB / 0.5327 GB, free: 152 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04954/0.6619, allocations: 12.42 MB / 0.5448 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007939/0.6698, allocations: 0.9292 MB / 0.5457 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05154/0.7214, allocations: 35.89 MB / 0.5807 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01206/0.7335, allocations: 7.271 MB / 0.5878 GB, free: 11.53 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005703/0.7393, allocations: 1.95 MB / 0.5897 GB, free: 9.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006129/0.7454, allocations: 3.076 MB / 0.5927 GB, free: 6.484 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001444/0.7469, allocations: 236 kB / 0.593 GB, free: 6.254 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/0.7505, allocations: 1.116 MB / 0.5941 GB, free: 5.137 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00378/0.7543, allocations: 2.68 MB / 0.5967 GB, free: 2.449 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002742/0.7571, allocations: 1.306 MB / 0.598 GB, free: 1.133 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.7709, allocations: 8.803 MB / 0.6066 GB, free: 8.309 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.7709, allocations: 4 kB / 0.6066 GB, free: 8.305 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.7709, allocations: 0 / 0.6066 GB, free: 8.305 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005283/0.7715, allocations: 0 / 0.6066 GB, free: 8.305 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01994/0.7914, allocations: 6.261 MB / 0.6127 GB, free: 1.965 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.7915, allocations: 8.031 kB / 0.6127 GB, free: 1.957 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/0.8045, allocations: 2.834 MB / 0.6154 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/0.8165, allocations: 4.2 MB / 0.6195 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003795/0.8169, allocations: 385.8 kB / 0.6199 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002283/0.8192, allocations: 0.4958 MB / 0.6204 GB, free: 9.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3532/1.172, allocations: 16.39 MB / 0.6364 GB, free: 139.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004277/1.173, allocations: 67.41 kB / 0.6365 GB, free: 139.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001958/1.175, allocations: 241.2 kB / 0.6367 GB, free: 139.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006906/1.182, allocations: 3.152 MB / 0.6398 GB, free: 139.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03221/1.214, allocations: 14.22 MB / 0.6537 GB, free: 135.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1048/1.319, allocations: 59.14 MB / 0.7114 GB, free: 94.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/1.335, allocations: 7.152 MB / 0.7184 GB, free: 88.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005405/1.341, allocations: 4.491 MB / 0.7228 GB, free: 83.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02176/1.363, allocations: 15.43 MB / 0.7379 GB, free: 68.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/1.363, allocations: 72.48 kB / 0.7379 GB, free: 68.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 5.43e-06/1.363, allocations: 4 kB / 0.7379 GB, free: 68.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.09647/1.459, allocations: 32.76 MB / 0.7699 GB, free: 35.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.459, allocations: 214.2 kB / 0.7701 GB, free: 34.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/1.47, allocations: 5.324 MB / 0.7753 GB, free: 29.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001566/1.471, allocations: 80.3 kB / 0.7754 GB, free: 29.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003442/1.475, allocations: 4.335 MB / 0.7796 GB, free: 25.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002488/1.477, allocations: 1.28 MB / 0.7809 GB, free: 23.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/1.479, allocations: 172.9 kB / 0.7811 GB, free: 23.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000875/1.48, allocations: 0.6616 MB / 0.7817 GB, free: 23.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007592/1.487, allocations: 3.889 MB / 0.7855 GB, free: 19.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/1.498, allocations: 8.385 MB / 0.7937 GB, free: 8.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.508, allocations: 5.59 MB / 0.7992 GB, free: 3.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002108/1.509, allocations: 44 kB / 0.7992 GB, free: 3.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.03775/1.546, allocations: 14.19 MB / 0.8131 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004119/1.547, allocations: 72 kB / 0.8131 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000528/1.547, allocations: 156.9 kB / 0.8133 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006954/1.554, allocations: 2.272 MB / 0.8155 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009022/1.563, allocations: 1.996 MB / 0.8174 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3847/1.948, allocations: 13.48 MB / 0.8306 GB, free: 136 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009217/1.957, allocations: 0.5013 MB / 0.8311 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002205/1.96, allocations: 494.5 kB / 0.8316 GB, free: 135.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1032): * Single equations (assignments): 1027 * Array equations: 3 * 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: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007257/1.967, allocations: 3.089 MB / 0.8346 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/1.968, allocations: 0.4933 MB / 0.8351 GB, free: 134.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/1.983, allocations: 8.379 MB / 0.8432 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001179/1.983, allocations: 36.97 kB / 0.8433 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.228e-05/1.983, allocations: 8.812 kB / 0.8433 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.734e-05/1.984, allocations: 19.08 kB / 0.8433 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04201/2.026, allocations: 17.14 MB / 0.86 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-05/2.026, allocations: 4.094 kB / 0.8601 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004164/2.03, allocations: 0.613 MB / 0.8607 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006526/2.036, allocations: 2.029 MB / 0.8626 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000952/2.037, allocations: 58.58 kB / 0.8627 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01682/2.054, allocations: 12.72 MB / 0.8751 GB, free: 119 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/2.054, allocations: 1.938 kB / 0.8751 GB, free: 119 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02071/2.075, allocations: 13.12 MB / 0.8879 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004067/2.079, allocations: 1.147 MB / 0.889 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002546/2.082, allocations: 56 kB / 0.8891 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004046/2.086, allocations: 267.6 kB / 0.8894 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/2.087, allocations: 198 kB / 0.8895 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007118/2.088, allocations: 91.98 kB / 0.8896 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007126/2.095, allocations: 3.331 MB / 0.8929 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/2.095, allocations: 0 / 0.8929 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01188/2.107, allocations: 1.695 MB / 0.8945 GB, free: 106.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * 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 (294): * Single equations (assignments): 289 * Array equations: 3 * 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: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001661/2.108, allocations: 207.3 kB / 0.8947 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01769/2.126, allocations: 9.495 MB / 0.904 GB, free: 97.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/2.126, allocations: 0 / 0.904 GB, free: 97.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007706/2.134, allocations: 4.093 MB / 0.908 GB, free: 93.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008293/2.142, allocations: 0.6394 MB / 0.9086 GB, free: 92.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03825/2.18, allocations: 18.48 MB / 0.9267 GB, free: 74.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008904/2.189, allocations: 4.802 MB / 0.9314 GB, free: 69.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.009181/2.199, allocations: 2.647 MB / 0.9339 GB, free: 66.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00264/2.201, allocations: 379.3 kB / 0.9343 GB, free: 66.25 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/2.201, allocations: 0 / 0.9343 GB, free: 66.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.1169/2.318, allocations: 64.53 MB / 0.9973 GB, free: 1.812 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches