Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009413/0.0009413, allocations: 178.6 kB / 16.72 MB, free: 5.078 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.28/1.28, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007712/0.0007712, allocations: 90.41 kB / 271.2 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.3123/0.3123, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003754, allocations: 12 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.2428/0.3533, allocations: 92.27 MB / 0.5694 GB, free: 0.668 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04315/0.3965, allocations: 18.5 MB / 0.5875 GB, free: 4.027 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01892/0.4155, allocations: 430.3 kB / 0.5879 GB, free: 3.965 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01556/0.4311, allocations: 4.865 MB / 0.5927 GB, free: 1.906 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03716/0.4683, allocations: 14.13 MB / 0.6065 GB, free: 3.828 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006006/0.4743, allocations: 1.077 MB / 0.6075 GB, free: 2.754 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.06282/0.5371, allocations: 51.48 MB / 0.6578 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01173/0.5489, allocations: 8.029 MB / 0.6656 GB, free: 7.102 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004193/0.5532, allocations: 2.183 MB / 0.6678 GB, free: 4.91 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004866/0.5581, allocations: 3.56 MB / 0.6712 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.5591, allocations: 252 kB / 0.6715 GB, free: 1.094 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2346/0.7937, allocations: 1.319 MB / 0.6728 GB, free: 54.78 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005018/0.7987, allocations: 3.069 MB / 0.6758 GB, free: 54.78 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007833/0.8066, allocations: 3.273 MB / 0.679 GB, free: 54.75 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.8181, allocations: 9.521 MB / 0.6883 GB, free: 54.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.8181, allocations: 3.25 kB / 0.6883 GB, free: 54.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.8181, allocations: 0 / 0.6883 GB, free: 54.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004069/0.8185, allocations: 0.5312 kB / 0.6883 GB, free: 54.16 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.01468/0.8332, allocations: 6.817 MB / 0.6949 GB, free: 51.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.8333, allocations: 12.98 kB / 0.6949 GB, free: 51.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/0.8473, allocations: 3.279 MB / 0.6981 GB, free: 50.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.8574, allocations: 5.228 MB / 0.7032 GB, free: 49.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/0.8578, allocations: 403.7 kB / 0.7036 GB, free: 49.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/0.8593, allocations: 0.5319 MB / 0.7041 GB, free: 49.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02569/0.885, allocations: 16.39 MB / 0.7201 GB, free: 45.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001897/0.8853, allocations: 72.19 kB / 0.7202 GB, free: 45.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006367/0.8859, allocations: 264.5 kB / 0.7205 GB, free: 45.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004093/0.89, allocations: 3.069 MB / 0.7235 GB, free: 45.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02255/0.9126, allocations: 13.62 MB / 0.7368 GB, free: 40.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06202/0.9746, allocations: 62.47 MB / 0.7978 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01309/0.9878, allocations: 6.101 MB / 0.8037 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004145/0.992, allocations: 3.417 MB / 0.8071 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.9922, allocations: 50.38 kB / 0.8071 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.9922, allocations: 59.27 kB / 0.8072 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 5.41e-06/0.9922, allocations: 0 / 0.8072 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.0596/1.052, allocations: 26.28 MB / 0.8328 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.052, allocations: 275.9 kB / 0.8331 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009309/1.061, allocations: 6.993 MB / 0.8399 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005849/1.062, allocations: 66.73 kB / 0.84 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00327/1.065, allocations: 4.966 MB / 0.8448 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001275/1.066, allocations: 1.034 MB / 0.8458 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/1.067, allocations: 180 kB / 0.846 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004429/1.067, allocations: 0.6863 MB / 0.8467 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004949/1.072, allocations: 3.383 MB / 0.85 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007812/1.08, allocations: 8.688 MB / 0.8585 GB, free: 9.797 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/1.094, allocations: 12.94 MB / 0.8711 GB, free: 11.02 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001287/1.094, allocations: 58.81 kB / 0.8712 GB, free: 10.97 MB / 0.573 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.2072/1.302, allocations: 13.34 MB / 0.8842 GB, free: 215.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/1.302, allocations: 88.84 kB / 0.8843 GB, free: 215.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002623/1.302, allocations: 188.1 kB / 0.8845 GB, free: 215.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004743/1.307, allocations: 1.793 MB / 0.8862 GB, free: 215.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006667/1.314, allocations: 2.089 MB / 0.8882 GB, free: 215.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/1.326, allocations: 11.77 MB / 0.8997 GB, free: 211.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006269/1.332, allocations: 0.5104 MB / 0.9002 GB, free: 211.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/1.333, allocations: 0.5317 MB / 0.9008 GB, free: 211.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1110): * Single equations (assignments): 1104 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00519/1.338, allocations: 3.324 MB / 0.904 GB, free: 210.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009306/1.339, allocations: 0.584 MB / 0.9046 GB, free: 210.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009834/1.349, allocations: 5.989 MB / 0.9104 GB, free: 208.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.473e-05/1.349, allocations: 28.17 kB / 0.9104 GB, free: 208.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/1.349, allocations: 9.125 kB / 0.9105 GB, free: 208.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/1.349, allocations: 15.17 kB / 0.9105 GB, free: 208.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02181/1.371, allocations: 13.35 MB / 0.9235 GB, free: 203.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.371, allocations: 1 kB / 0.9235 GB, free: 203.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/1.373, allocations: 466.1 kB / 0.924 GB, free: 203.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003879/1.377, allocations: 1.493 MB / 0.9254 GB, free: 203.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005167/1.377, allocations: 51.95 kB / 0.9255 GB, free: 203.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/1.388, allocations: 10.83 MB / 0.936 GB, free: 196.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.388, allocations: 3.438 kB / 0.936 GB, free: 196.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/1.4, allocations: 9.732 MB / 0.9455 GB, free: 193.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/1.403, allocations: 1.078 MB / 0.9466 GB, free: 193.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006042/1.403, allocations: 47.66 kB / 0.9466 GB, free: 193 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001999/1.405, allocations: 184.3 kB / 0.9468 GB, free: 193 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/1.406, allocations: 166.2 kB / 0.947 GB, free: 193 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.406, allocations: 72.41 kB / 0.9471 GB, free: 193 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006137/1.412, allocations: 4.439 MB / 0.9514 GB, free: 190.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.9e-07/1.412, allocations: 0 / 0.9514 GB, free: 190.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006918/1.419, allocations: 1.671 MB / 0.953 GB, free: 188.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000457/1.419, allocations: 187.9 kB / 0.9532 GB, free: 188.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01098/1.43, allocations: 8.312 MB / 0.9613 GB, free: 181 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.43, allocations: 3.188 kB / 0.9613 GB, free: 181 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003099/1.434, allocations: 2.844 MB / 0.9641 GB, free: 178.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004854/1.438, allocations: 0.7514 MB / 0.9648 GB, free: 177.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/1.461, allocations: 18.89 MB / 0.9833 GB, free: 158.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004402/1.465, allocations: 5.03 MB / 0.9882 GB, free: 153.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/1.467, allocations: 463.4 kB / 0.9886 GB, free: 153.1 MB / 0.573 GB Notification: Performance of SimCode: time 6.11e-07/1.467, allocations: 0 / 0.9886 GB, free: 153.1 MB / 0.573 GB Notification: Performance of Templates: time 0.352/1.819, allocations: 186.7 MB / 1.171 GB, free: 195 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches