Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008465/0.0008465, 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.001007/0.001007, 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.753/1.753, 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.4816/0.4816, allocations: 43.59 MB / 314.6 MB, free: 8.719 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.0005723/0.0005723, allocations: 14.97 kB / 383.9 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1586, allocations: 58.87 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3509/0.5096, allocations: 84.85 MB / 0.5153 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06027/0.5699, allocations: 17.18 MB / 0.5321 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03035/0.6003, allocations: 400.5 kB / 0.5325 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02103/0.6214, allocations: 4.47 MB / 0.5368 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04755/0.669, allocations: 12.94 MB / 0.5495 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008336/0.6773, allocations: 0.9104 MB / 0.5504 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05031/0.7277, allocations: 35.98 MB / 0.5855 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01229/0.74, allocations: 7.086 MB / 0.5924 GB, free: 6.809 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005338/0.7454, allocations: 1.942 MB / 0.5943 GB, free: 4.859 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006344/0.7518, allocations: 3.147 MB / 0.5974 GB, free: 1.703 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001728/0.7535, allocations: 240 kB / 0.5976 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003899/0.7575, allocations: 1.12 MB / 0.5987 GB, free: 356 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004144/0.7616, allocations: 2.754 MB / 0.6014 GB, free: 13.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.7642, allocations: 1.322 MB / 0.6027 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.7765, allocations: 8.884 MB / 0.6114 GB, free: 3.348 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.7765, allocations: 8 kB / 0.6114 GB, free: 3.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7765, allocations: 0 / 0.6114 GB, free: 3.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004491/0.777, allocations: 0 / 0.6114 GB, free: 3.34 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.01686/0.7938, allocations: 6.348 MB / 0.6176 GB, free: 12.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.7939, allocations: 12.03 kB / 0.6176 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/0.807, allocations: 2.892 MB / 0.6204 GB, free: 9.996 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/0.8189, allocations: 4.225 MB / 0.6245 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004352/0.8194, allocations: 397.7 kB / 0.6249 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002632/0.822, allocations: 0.5074 MB / 0.6254 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4045/1.227, allocations: 16.39 MB / 0.6414 GB, free: 139.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007758/1.227, allocations: 65.53 kB / 0.6415 GB, free: 139.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00377/1.231, allocations: 239.2 kB / 0.6417 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006811/1.238, allocations: 3.16 MB / 0.6448 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03368/1.272, allocations: 14.07 MB / 0.6585 GB, free: 134.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09817/1.37, allocations: 60.65 MB / 0.7178 GB, free: 88.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01713/1.387, allocations: 8.037 MB / 0.7256 GB, free: 80.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004754/1.392, allocations: 4.189 MB / 0.7297 GB, free: 76.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/1.392, allocations: 60.75 kB / 0.7298 GB, free: 76.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/1.392, allocations: 72.81 kB / 0.7298 GB, free: 76.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 6.041e-06/1.392, allocations: 0 / 0.7298 GB, free: 76.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.08133/1.474, allocations: 35.39 MB / 0.7644 GB, free: 40.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.474, allocations: 214.1 kB / 0.7646 GB, free: 40.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008869/1.483, allocations: 6.327 MB / 0.7708 GB, free: 34.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001298/1.484, allocations: 77.7 kB / 0.7708 GB, free: 34.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003447/1.488, allocations: 4.54 MB / 0.7753 GB, free: 29.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002365/1.49, allocations: 1.236 MB / 0.7765 GB, free: 28.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005443/1.49, allocations: 176 kB / 0.7767 GB, free: 28.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005059/1.491, allocations: 0.6897 MB / 0.7773 GB, free: 27.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005425/1.496, allocations: 4.062 MB / 0.7813 GB, free: 23.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008202/1.505, allocations: 8.932 MB / 0.79 GB, free: 12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009259/1.514, allocations: 5.877 MB / 0.7958 GB, free: 6.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001838/1.514, allocations: 52 kB / 0.7958 GB, free: 6.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03492/1.549, allocations: 14.89 MB / 0.8103 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003946/1.55, allocations: 80.25 kB / 0.8104 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006322/1.55, allocations: 172 kB / 0.8106 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006631/1.557, allocations: 2.292 MB / 0.8128 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009307/1.566, allocations: 2.094 MB / 0.8149 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3758/1.942, allocations: 13.5 MB / 0.8281 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009972/1.952, allocations: 0.5398 MB / 0.8286 GB, free: 134.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002347/1.955, allocations: 0.5134 MB / 0.8291 GB, free: 134.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (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 (1084): * Single equations (assignments): 1079 * 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.008943/1.963, allocations: 3.156 MB / 0.8322 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/1.965, allocations: 0.5529 MB / 0.8327 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.979, allocations: 8.448 MB / 0.841 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.341e-05/1.979, allocations: 33.81 kB / 0.841 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.087e-05/1.979, allocations: 10.72 kB / 0.841 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-05/1.979, allocations: 20.17 kB / 0.841 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0391/2.018, allocations: 17.41 MB / 0.858 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.7e-05/2.019, allocations: 4.031 kB / 0.858 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003402/2.022, allocations: 0.5962 MB / 0.8586 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005952/2.028, allocations: 2.03 MB / 0.8606 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008144/2.029, allocations: 62.48 kB / 0.8606 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01926/2.048, allocations: 12.72 MB / 0.8731 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/2.048, allocations: 5.062 kB / 0.8731 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/2.07, allocations: 13.48 MB / 0.8862 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004344/2.074, allocations: 1.263 MB / 0.8875 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00195/2.076, allocations: 58.83 kB / 0.8875 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003762/2.08, allocations: 291.9 kB / 0.8878 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005666/2.08, allocations: 204.1 kB / 0.888 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002674/2.081, allocations: 86.7 kB / 0.8881 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006743/2.087, allocations: 4.014 MB / 0.892 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/2.088, allocations: 0 / 0.892 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009839/2.097, allocations: 1.742 MB / 0.8937 GB, free: 106.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 273 * 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.0007969/2.098, allocations: 203.5 kB / 0.8939 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01399/2.112, allocations: 9.852 MB / 0.9035 GB, free: 96.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/2.112, allocations: 0 / 0.9035 GB, free: 96.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005992/2.118, allocations: 4.122 MB / 0.9075 GB, free: 91.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004463/2.123, allocations: 0.6916 MB / 0.9082 GB, free: 91.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02854/2.151, allocations: 18.9 MB / 0.9267 GB, free: 72.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005778/2.157, allocations: 4.854 MB / 0.9314 GB, free: 67.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007214/2.164, allocations: 2.919 MB / 0.9343 GB, free: 64.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/2.166, allocations: 399.3 kB / 0.9346 GB, free: 64.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.725e-06/2.166, allocations: 0 / 0.9346 GB, free: 64.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.111/2.277, allocations: 66.29 MB / 0.9994 GB, free: 14.09 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches