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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 176.2 kB / 16.77 MB, free: 5.043 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.506/1.506, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007968/0.0007967, allocations: 89.42 kB / 271.3 MB, free: 8.25 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.3409/0.3409, allocations: 43.56 MB / 363.1 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00045/0.0004501, allocations: 15.98 kB / 432.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1172, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3366/0.4539, allocations: 107.2 MB / 0.5847 GB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.4542, allocations: 82.45 kB / 0.5847 GB, free: 10.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5065/0.9608, allocations: 129.7 MB / 0.7114 GB, free: 84.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.9608, allocations: 0 / 0.7114 GB, free: 84.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003401/0.9612, allocations: 133.8 kB / 0.7116 GB, free: 84.9 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02265/0.9838, allocations: 6.538 MB / 0.7179 GB, free: 82.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.9839, allocations: 9 kB / 0.7179 GB, free: 82.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0225/1.006, allocations: 5.454 MB / 0.7233 GB, free: 81.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/1.02, allocations: 6.137 MB / 0.7293 GB, free: 80.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005928/1.021, allocations: 0.4953 MB / 0.7297 GB, free: 80.78 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003276/1.024, allocations: 0.6545 MB / 0.7304 GB, free: 80.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03434/1.059, allocations: 16.44 MB / 0.7464 GB, free: 74.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003559/1.059, allocations: 76.78 kB / 0.7465 GB, free: 74.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002068/1.061, allocations: 316.8 kB / 0.7468 GB, free: 74.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001778/1.063, allocations: 1.575 MB / 0.7484 GB, free: 74.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02619/1.089, allocations: 13.93 MB / 0.762 GB, free: 69.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06913/1.158, allocations: 66.24 MB / 0.8266 GB, free: 16.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01404/1.173, allocations: 6.922 MB / 0.8334 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00418/1.177, allocations: 4.229 MB / 0.8375 GB, free: 5.312 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02226/1.199, allocations: 14.95 MB / 0.8521 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/1.199, allocations: 60.5 kB / 0.8522 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=306): time 5.831e-06/1.199, allocations: 0 / 0.8522 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of matching and sorting (n=348): time 0.296/1.495, allocations: 29.96 MB / 0.8815 GB, free: 92.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/1.495, allocations: 224.2 kB / 0.8817 GB, free: 92.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00721/1.502, allocations: 5.312 MB / 0.8869 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008947/1.503, allocations: 80.64 kB / 0.8869 GB, free: 91.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002429/1.506, allocations: 4.409 MB / 0.8912 GB, free: 89.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001444/1.507, allocations: 1.28 MB / 0.8925 GB, free: 88.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/1.508, allocations: 164.1 kB / 0.8927 GB, free: 88.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003458/1.508, allocations: 0.6526 MB / 0.8933 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005381/1.513, allocations: 3.615 MB / 0.8968 GB, free: 88.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008553/1.522, allocations: 8.128 MB / 0.9048 GB, free: 82.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01431/1.536, allocations: 12.75 MB / 0.9172 GB, free: 73.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001744/1.537, allocations: 41.38 kB / 0.9172 GB, free: 73.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.02119/1.558, allocations: 13.08 MB / 0.93 GB, free: 68.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.558, allocations: 79.72 kB / 0.9301 GB, free: 68.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/1.558, allocations: 162 kB / 0.9302 GB, free: 68.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003461/1.562, allocations: 1.642 MB / 0.9318 GB, free: 67.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006407/1.568, allocations: 1.926 MB / 0.9337 GB, free: 67.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/1.58, allocations: 11.38 MB / 0.9448 GB, free: 61.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006853/1.586, allocations: 0.4912 MB / 0.9453 GB, free: 61.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/1.588, allocations: 481.2 kB / 0.9458 GB, free: 61.44 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * 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 (999): * Single equations (assignments): 994 * 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.005295/1.593, allocations: 3.09 MB / 0.9488 GB, free: 60 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009291/1.594, allocations: 0.5028 MB / 0.9493 GB, free: 59.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/1.605, allocations: 7.451 MB / 0.9566 GB, free: 56.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.262e-05/1.605, allocations: 40.56 kB / 0.9566 GB, free: 56.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/1.605, allocations: 8.891 kB / 0.9566 GB, free: 56.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.451e-05/1.605, allocations: 24.62 kB / 0.9566 GB, free: 56.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02586/1.631, allocations: 16.1 MB / 0.9724 GB, free: 51.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/1.631, allocations: 3.516 kB / 0.9724 GB, free: 51.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002958/1.634, allocations: 0.6004 MB / 0.973 GB, free: 51.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003018/1.637, allocations: 1.419 MB / 0.9743 GB, free: 50.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003063/1.637, allocations: 66.33 kB / 0.9744 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/1.65, allocations: 10.56 MB / 0.9847 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.65, allocations: 4 kB / 0.9847 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02892/1.679, allocations: 11.94 MB / 0.9964 GB, free: 30.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004309/1.683, allocations: 1.099 MB / 0.9974 GB, free: 29.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001872/1.685, allocations: 59.94 kB / 0.9975 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005937/1.691, allocations: 262.7 kB / 0.9978 GB, free: 29.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001049/1.692, allocations: 196.3 kB / 0.9979 GB, free: 29.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005315/1.693, allocations: 91.36 kB / 0.998 GB, free: 29.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009379/1.702, allocations: 3.333 MB / 1.001 GB, free: 26.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.072e-06/1.702, allocations: 0 / 1.001 GB, free: 26.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01352/1.716, allocations: 1.616 MB / 1.003 GB, free: 24.75 MB / 0.4948 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.001128/1.717, allocations: 213.9 kB / 1.003 GB, free: 24.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02035/1.737, allocations: 8.979 MB / 1.012 GB, free: 16.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.737, allocations: 0 / 1.012 GB, free: 16.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009447/1.747, allocations: 3.781 MB / 1.016 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007323/1.754, allocations: 0.6683 MB / 1.016 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/1.784, allocations: 18.18 MB / 1.034 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007803/1.791, allocations: 4.807 MB / 1.039 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007977/1.799, allocations: 2.684 MB / 1.041 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/1.801, allocations: 375.3 kB / 1.042 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of SimCode: time 2.564e-06/1.801, allocations: 4 kB / 1.042 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.3502/2.151, allocations: 61.92 MB / 1.102 GB, free: 110.1 MB / 0.5261 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/jenkins1/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