Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0024/0.0024, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.218/2.218, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00177/0.00177, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3391/0.3391, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006322/0.0006324, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1268, allocations: 58.87 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.4713/0.5981, allocations: 83.59 MB / 0.5604 GB, free: 15.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0598/0.658, allocations: 18.72 MB / 0.5786 GB, free: 1.797 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02264/0.6807, allocations: 411.1 kB / 0.579 GB, free: 1.395 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01666/0.6974, allocations: 4.207 MB / 0.5831 GB, free: 13.17 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05095/0.7484, allocations: 11.91 MB / 0.5948 GB, free: 1.23 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00739/0.7558, allocations: 0.9128 MB / 0.5957 GB, free: 324 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.07652/0.8324, allocations: 27.5 MB / 0.6225 GB, free: 4.789 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01622/0.8487, allocations: 7.358 MB / 0.6297 GB, free: 13.36 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004493/0.8532, allocations: 1.674 MB / 0.6313 GB, free: 11.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005301/0.8586, allocations: 2.251 MB / 0.6335 GB, free: 9.426 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001829/0.8604, allocations: 244 kB / 0.6338 GB, free: 9.188 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004494/0.865, allocations: 1.104 MB / 0.6349 GB, free: 8.082 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005155/0.8702, allocations: 2.673 MB / 0.6375 GB, free: 5.402 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003212/0.8735, allocations: 1.384 MB / 0.6388 GB, free: 4.008 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01675/0.8903, allocations: 9.325 MB / 0.6479 GB, free: 10.66 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.8903, allocations: 0 / 0.6479 GB, free: 10.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.8904, allocations: 0 / 0.6479 GB, free: 10.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005178/0.8909, allocations: 0 / 0.6479 GB, free: 10.66 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02786/0.9188, allocations: 7.098 MB / 0.6549 GB, free: 3.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.9188, allocations: 8.031 kB / 0.6549 GB, free: 3.473 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09008/1.009, allocations: 8.33 MB / 0.663 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01676/1.026, allocations: 4.836 MB / 0.6677 GB, free: 6.203 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006/1.026, allocations: 398.1 kB / 0.6681 GB, free: 5.812 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0029/1.029, allocations: 0.5269 MB / 0.6686 GB, free: 5.285 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05405/1.083, allocations: 16.94 MB / 0.6852 GB, free: 3.355 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00037/1.084, allocations: 71.36 kB / 0.6852 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002157/1.086, allocations: 251.8 kB / 0.6855 GB, free: 3.039 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01079/1.097, allocations: 3.252 MB / 0.6886 GB, free: 15.78 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0517/1.149, allocations: 14.4 MB / 0.7027 GB, free: 1.34 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7599/1.909, allocations: 62.55 MB / 0.7638 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02999/1.939, allocations: 6.974 MB / 0.7706 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02501/1.964, allocations: 9.52 MB / 0.7799 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.209e-05/1.964, allocations: 67.34 kB / 0.78 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=297): time 7.505e-06/1.964, allocations: 2.688 kB / 0.78 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.1443/2.108, allocations: 34.12 MB / 0.8133 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/2.108, allocations: 244.2 kB / 0.8135 GB, free: 105 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01393/2.122, allocations: 6.978 MB / 0.8203 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/2.123, allocations: 74.64 kB / 0.8204 GB, free: 97.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00381/2.127, allocations: 4.561 MB / 0.8249 GB, free: 93.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002135/2.129, allocations: 1.257 MB / 0.8261 GB, free: 92.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/2.131, allocations: 183.9 kB / 0.8263 GB, free: 91.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005625/2.131, allocations: 0.687 MB / 0.8269 GB, free: 91.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009448/2.141, allocations: 3.82 MB / 0.8307 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01318/2.154, allocations: 8.835 MB / 0.8393 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0136/2.168, allocations: 5.682 MB / 0.8448 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001729/2.168, allocations: 48 kB / 0.8449 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1169) (initialization): time 0.0489/2.217, allocations: 13.8 MB / 0.8584 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/2.217, allocations: 85.75 kB / 0.8585 GB, free: 56.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003799/2.217, allocations: 184 kB / 0.8586 GB, free: 56.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/2.228, allocations: 1.804 MB / 0.8604 GB, free: 54.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01913/2.248, allocations: 2.09 MB / 0.8624 GB, free: 52.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03568/2.283, allocations: 12.39 MB / 0.8745 GB, free: 39.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01668/2.3, allocations: 0.5195 MB / 0.875 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003081/2.303, allocations: 0.5175 MB / 0.8755 GB, free: 38.74 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1087): * Single equations (assignments): 1080 * Array equations: 5 * 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.01503/2.318, allocations: 3.294 MB / 0.8788 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003071/2.321, allocations: 0.5869 MB / 0.8793 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03727/2.359, allocations: 7.711 MB / 0.8869 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/2.359, allocations: 32 kB / 0.8869 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.454e-05/2.359, allocations: 12 kB / 0.8869 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001285/2.359, allocations: 15.94 kB / 0.8869 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04949/2.409, allocations: 16.37 MB / 0.9029 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.785e-05/2.409, allocations: 8.094 kB / 0.9029 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006148/2.415, allocations: 0.585 MB / 0.9035 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007245/2.422, allocations: 1.527 MB / 0.905 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000978/2.423, allocations: 65.55 kB / 0.905 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3794/2.803, allocations: 11.57 MB / 0.9163 GB, free: 166.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/2.803, allocations: 6.781 kB / 0.9163 GB, free: 166.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03673/2.839, allocations: 13 MB / 0.929 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004985/2.844, allocations: 1.229 MB / 0.9302 GB, free: 161.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002631/2.847, allocations: 62.02 kB / 0.9303 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006544/2.854, allocations: 229.9 kB / 0.9305 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001583/2.855, allocations: 201.4 kB / 0.9307 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004845/2.856, allocations: 90.69 kB / 0.9308 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01175/2.868, allocations: 4.526 MB / 0.9352 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.82e-07/2.868, allocations: 0 / 0.9352 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01131/2.879, allocations: 1.736 MB / 0.9369 GB, free: 159.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.001524/2.881, allocations: 220 kB / 0.9371 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02211/2.903, allocations: 9.329 MB / 0.9462 GB, free: 156 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/2.903, allocations: 0 / 0.9462 GB, free: 156 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01061/2.913, allocations: 3.802 MB / 0.9499 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006534/2.92, allocations: 0.7144 MB / 0.9506 GB, free: 154.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04304/2.963, allocations: 19.86 MB / 0.97 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01031/2.973, allocations: 5.182 MB / 0.9751 GB, free: 132 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003695/2.977, allocations: 487.3 kB / 0.9756 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.874e-06/2.977, allocations: 0 / 0.9756 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.7373/3.715, allocations: 153.4 MB / 1.125 GB, free: 168.1 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches