Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001781/0.00178, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009874/0.0009874, allocations: 112.5 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3652/0.3652, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3648, allocations: 62.02 MB / 0.5152 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.07921/0.444, allocations: 91.39 MB / 0.6044 GB, free: 13.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04871/0.4928, allocations: 17.68 MB / 0.6217 GB, free: 12.19 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02535/0.5182, allocations: 395.1 kB / 0.622 GB, free: 11.8 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008899/0.5272, allocations: 4.508 MB / 0.6264 GB, free: 7.281 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007606/0.5348, allocations: 2.176 MB / 0.6286 GB, free: 5.098 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003173/0.538, allocations: 1.053 MB / 0.6296 GB, free: 4.043 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01321/0.5513, allocations: 9.629 MB / 0.639 GB, free: 10.39 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007245/0.5586, allocations: 5.429 MB / 0.6443 GB, free: 4.906 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.5627, allocations: 2.02 MB / 0.6463 GB, free: 2.879 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005228/0.568, allocations: 3.275 MB / 0.6495 GB, free: 15.59 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001571/0.5696, allocations: 364 kB / 0.6498 GB, free: 15.24 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00359/0.5732, allocations: 1.443 MB / 0.6512 GB, free: 13.79 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003843/0.5771, allocations: 2.77 MB / 0.6539 GB, free: 11.02 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005965/0.583, allocations: 3.13 MB / 0.657 GB, free: 7.867 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.5965, allocations: 9.863 MB / 0.6666 GB, free: 13.97 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5966, allocations: 0 / 0.6666 GB, free: 13.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5966, allocations: 0 / 0.6666 GB, free: 13.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004473/0.597, allocations: 3.938 kB / 0.6666 GB, free: 13.97 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.02074/0.6178, allocations: 7.064 MB / 0.6735 GB, free: 6.824 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.6179, allocations: 12.03 kB / 0.6735 GB, free: 6.812 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01328/0.6311, allocations: 2.722 MB / 0.6762 GB, free: 4.078 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/0.6416, allocations: 3.926 MB / 0.68 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2448/0.8865, allocations: 344.4 kB / 0.6804 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002052/0.8886, allocations: 473.5 kB / 0.6808 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02131/0.9099, allocations: 14.74 MB / 0.6952 GB, free: 128.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/0.9101, allocations: 63 kB / 0.6953 GB, free: 128.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004614/0.9105, allocations: 217.6 kB / 0.6955 GB, free: 128.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004285/0.9148, allocations: 2.786 MB / 0.6982 GB, free: 128 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02806/0.9429, allocations: 12.63 MB / 0.7105 GB, free: 124.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05674/0.9997, allocations: 55.17 MB / 0.7644 GB, free: 72.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01526/1.015, allocations: 6.502 MB / 0.7708 GB, free: 66.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00352/1.019, allocations: 3.599 MB / 0.7743 GB, free: 62.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/1.019, allocations: 49.12 kB / 0.7743 GB, free: 62.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.019, allocations: 55.88 kB / 0.7744 GB, free: 62.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=218): time 5.971e-06/1.019, allocations: 0 / 0.7744 GB, free: 62.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=260): time 0.09784/1.117, allocations: 31.8 MB / 0.8054 GB, free: 30.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/1.117, allocations: 205.9 kB / 0.8056 GB, free: 30.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01269/1.129, allocations: 6.071 MB / 0.8115 GB, free: 24.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009762/1.131, allocations: 61.7 kB / 0.8116 GB, free: 24.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003075/1.134, allocations: 4.166 MB / 0.8157 GB, free: 19.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001591/1.135, allocations: 0.991 MB / 0.8166 GB, free: 18.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002704/1.138, allocations: 1.629 MB / 0.8182 GB, free: 17.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.341e-05/1.138, allocations: 309.1 kB / 0.8185 GB, free: 16.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006506/1.145, allocations: 3.486 MB / 0.8219 GB, free: 13.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009857/1.154, allocations: 7.981 MB / 0.8297 GB, free: 3.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02129/1.176, allocations: 12.29 MB / 0.8417 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002023/1.176, allocations: 47.94 kB / 0.8418 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.03826/1.214, allocations: 13.3 MB / 0.8548 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/1.214, allocations: 72 kB / 0.8548 GB, free: 7.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002893/1.215, allocations: 156 kB / 0.855 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009475/1.224, allocations: 2.265 MB / 0.8572 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01071/1.235, allocations: 1.829 MB / 0.859 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0279/1.263, allocations: 13.48 MB / 0.8721 GB, free: 5.309 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/1.274, allocations: 495.2 kB / 0.8726 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00251/1.276, allocations: 471.9 kB / 0.8731 GB, free: 4.363 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 715 * Number of states: 0 () * Number of discrete variables: 62 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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 (952): * Single equations (assignments): 947 * Array equations: 3 * 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): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007132/1.283, allocations: 2.887 MB / 0.8759 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/1.285, allocations: 0.5052 MB / 0.8764 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3231/1.608, allocations: 7.13 MB / 0.8833 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.007e-05/1.608, allocations: 28.31 kB / 0.8834 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-05/1.608, allocations: 8.594 kB / 0.8834 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.938e-05/1.608, allocations: 20.09 kB / 0.8834 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03107/1.639, allocations: 14.79 MB / 0.8978 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/1.639, allocations: 4.188 kB / 0.8978 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002572/1.642, allocations: 455 kB / 0.8983 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005995/1.648, allocations: 2.033 MB / 0.9003 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000642/1.648, allocations: 45.77 kB / 0.9003 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01859/1.667, allocations: 12.7 MB / 0.9127 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.667, allocations: 1.188 kB / 0.9127 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1278/1.795, allocations: 80.92 MB / 0.9917 GB, free: 80.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/1.796, allocations: 0.5789 MB / 0.9923 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.797, allocations: 47.83 kB / 0.9923 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/1.8, allocations: 227.6 kB / 0.9926 GB, free: 80.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005954/1.8, allocations: 157.3 kB / 0.9927 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/1.801, allocations: 64 kB / 0.9928 GB, free: 79.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005118/1.806, allocations: 3.862 MB / 0.9965 GB, free: 76.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/1.806, allocations: 2.734 kB / 0.9965 GB, free: 76.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01019/1.816, allocations: 2.153 MB / 0.9986 GB, free: 73.91 MB / 0.5261 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 (202): * Single equations (assignments): 197 * Array equations: 3 * 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): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/1.817, allocations: 176.9 kB / 0.9988 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01236/1.829, allocations: 8.462 MB / 1.007 GB, free: 65.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.829, allocations: 0 / 1.007 GB, free: 65.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005262/1.835, allocations: 3.477 MB / 1.01 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004735/1.839, allocations: 0.6665 MB / 1.011 GB, free: 61.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02688/1.866, allocations: 19.54 MB / 1.03 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006245/1.873, allocations: 4.515 MB / 1.035 GB, free: 36.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006581/1.879, allocations: 2.661 MB / 1.037 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/1.881, allocations: 363.3 kB / 1.038 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of SimCode: time 1.353e-06/1.881, allocations: 0 / 1.038 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of Templates: time 0.3735/2.254, allocations: 85.42 MB / 1.121 GB, free: 147.8 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches