Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009685/0.0009685, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008756/0.0008757, allocations: 94.64 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1933/0.1933, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.807e-05/1.808e-05, allocations: 7.984 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1227, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/0.5537, allocations: 107.2 MB / 0.6091 GB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.554, allocations: 80.45 kB / 0.6092 GB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3223/0.8763, allocations: 133.9 MB / 0.7399 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8764, allocations: 0 / 0.7399 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004622/0.8768, allocations: 128 kB / 0.7401 GB, free: 13.41 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02198/0.8988, allocations: 6.422 MB / 0.7463 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.8989, allocations: 8.031 kB / 0.7463 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3672/1.266, allocations: 9.457 MB / 0.7556 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02097/1.287, allocations: 7.338 MB / 0.7627 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004852/1.288, allocations: 208.3 kB / 0.7629 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002911/1.291, allocations: 390.5 kB / 0.7633 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02068/1.311, allocations: 8.444 MB / 0.7716 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02385/1.335, allocations: 13.28 MB / 0.7845 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002478/1.335, allocations: 93.59 kB / 0.7846 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007206/1.336, allocations: 44.44 kB / 0.7847 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001419/1.338, allocations: 1.341 MB / 0.786 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06216/1.4, allocations: 64.95 MB / 0.8494 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003996/1.404, allocations: 3.983 MB / 0.8533 GB, free: 60.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/1.406, allocations: 2.525 MB / 0.8558 GB, free: 59.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-05/1.406, allocations: 40.97 kB / 0.8558 GB, free: 59.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/1.406, allocations: 52.91 kB / 0.8558 GB, free: 59.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=186): time 3.737e-06/1.406, allocations: 2.531 kB / 0.8558 GB, free: 59.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=207): time 0.0364/1.443, allocations: 23.21 MB / 0.8785 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/1.443, allocations: 259.2 kB / 0.8788 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006168/1.449, allocations: 4.659 MB / 0.8833 GB, free: 46.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002725/1.449, allocations: 27.05 kB / 0.8833 GB, free: 46.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002254/1.451, allocations: 4.756 MB / 0.888 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006458/1.452, allocations: 0.8025 MB / 0.8888 GB, free: 42.19 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/1.452, allocations: 0 / 0.8888 GB, free: 42.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003077/1.453, allocations: 0.6451 MB / 0.8894 GB, free: 41.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/1.455, allocations: 2.304 MB / 0.8916 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004287/1.459, allocations: 7.334 MB / 0.8988 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004148/1.464, allocations: 4.076 MB / 0.9028 GB, free: 26.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.888e-05/1.464, allocations: 56 kB / 0.9028 GB, free: 26.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.01221/1.476, allocations: 9.061 MB / 0.9117 GB, free: 18.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.463e-05/1.476, allocations: 87.94 kB / 0.9118 GB, free: 18.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/1.476, allocations: 180 kB / 0.9119 GB, free: 18.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/1.478, allocations: 0.8195 MB / 0.9127 GB, free: 17.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004517/1.482, allocations: 1.816 MB / 0.9145 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007183/1.489, allocations: 8.188 MB / 0.9225 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005673/1.495, allocations: 278.7 kB / 0.9228 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007713/1.496, allocations: 498.2 kB / 0.9233 GB, free: 7.848 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (972): * Single equations (assignments): 966 * 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.0008389/1.497, allocations: 0.5549 MB / 0.9238 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005917/1.497, allocations: 489.2 kB / 0.9243 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004707/1.502, allocations: 3.202 MB / 0.9274 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/1.502, allocations: 35.78 kB / 0.9274 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.502, allocations: 8 kB / 0.9274 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/1.502, allocations: 11.44 kB / 0.9274 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/1.516, allocations: 8.535 MB / 0.9358 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.516, allocations: 4 kB / 0.9358 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/1.518, allocations: 303.3 kB / 0.9361 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001377/1.519, allocations: 0.5231 MB / 0.9366 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/1.519, allocations: 7.328 kB / 0.9366 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007799/1.527, allocations: 7.257 MB / 0.9437 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.527, allocations: 0 / 0.9437 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008479/1.535, allocations: 5.99 MB / 0.9495 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.537, allocations: 0.4991 MB / 0.95 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004585/1.537, allocations: 11.2 kB / 0.95 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/1.539, allocations: 79.45 kB / 0.9501 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/1.539, allocations: 126.8 kB / 0.9502 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/1.539, allocations: 55.66 kB / 0.9503 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005188/1.545, allocations: 3.152 MB / 0.9533 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/1.545, allocations: 0 / 0.9533 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006835/1.552, allocations: 1.206 MB / 0.9545 GB, free: 11.89 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * 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.0005726/1.552, allocations: 148.3 kB / 0.9547 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.562, allocations: 5.873 MB / 0.9604 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.562, allocations: 0 / 0.9604 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002594/1.565, allocations: 1.905 MB / 0.9623 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004141/1.569, allocations: 0.6196 MB / 0.9629 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3326/1.902, allocations: 10.77 MB / 0.9734 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007647/1.909, allocations: 4.809 MB / 0.9781 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007382/1.917, allocations: 2.494 MB / 0.9805 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009793/1.918, allocations: 316.5 kB / 0.9808 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of SimCode: time 7.22e-07/1.918, allocations: 0 / 0.9808 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.07536/1.993, allocations: 42 MB / 1.022 GB, free: 119.9 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches