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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 166.8 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.063/1.063, allocations: 177 MB / 205.9 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1784/0.1784, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.088e-05, allocations: 3.297 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01152/0.01155, allocations: 14.51 MB / 394.5 MB, free: 8.176 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.02238, allocations: 4.965 MB / 399.5 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003838/0.02621, allocations: 127.4 kB / 399.6 MB, free: 3.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006933/0.03315, allocations: 5.292 MB / 404.9 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008121/0.04127, allocations: 2.686 MB / 407.6 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.04455, allocations: 1.392 MB / 409 MB, free: 9.664 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01173/0.05628, allocations: 9.084 MB / 418.1 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.06631, allocations: 5.655 MB / 423.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01348/0.07979, allocations: 5.396 MB / 429.1 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007245/0.08703, allocations: 3.897 MB / 433 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002736/0.08977, allocations: 0.5508 MB / 433.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005933/0.0957, allocations: 1.522 MB / 435.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005275/0.101, allocations: 3.398 MB / 438.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00548/0.1065, allocations: 2.099 MB / 440.6 MB, free: 9.922 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.1191, allocations: 7.038 MB / 447.6 MB, free: 2.859 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.1191, allocations: 4 kB / 447.6 MB, free: 2.855 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1191, allocations: 0 / 447.6 MB, free: 2.855 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004359/0.1196, allocations: 0 / 447.6 MB, free: 2.855 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.01438/0.134, allocations: 7.886 MB / 455.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.134, allocations: 12.03 kB / 455.5 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007872/0.1419, allocations: 2.712 MB / 458.2 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007806/0.1497, allocations: 3.513 MB / 461.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/0.15, allocations: 361.7 kB / 462.1 MB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/0.1513, allocations: 496.1 kB / 462.6 MB, free: 3.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.1669, allocations: 8.039 MB / 470.6 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002251/0.1672, allocations: 71.41 kB / 470.7 MB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005647/0.1677, allocations: 231.8 kB / 470.9 MB, free: 9.961 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002111/0.1698, allocations: 2.219 MB / 473.1 MB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.1802, allocations: 3.403 MB / 476.5 MB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3184/0.4986, allocations: 61.98 MB / 0.5259 GB, free: 58.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005767/0.5043, allocations: 2.006 MB / 0.5279 GB, free: 58.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008286/0.5052, allocations: 487.8 kB / 0.5283 GB, free: 58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007575/0.5127, allocations: 4.592 MB / 0.5328 GB, free: 56.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.5128, allocations: 57.98 kB / 0.5329 GB, free: 56.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 3.717e-06/0.5128, allocations: 0 / 0.5329 GB, free: 56.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.01672/0.5295, allocations: 5.585 MB / 0.5383 GB, free: 55.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.5296, allocations: 244.4 kB / 0.5385 GB, free: 55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008201/0.5378, allocations: 5.4 MB / 0.5438 GB, free: 50.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003774/0.5382, allocations: 41.7 kB / 0.5439 GB, free: 50.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004054/0.5422, allocations: 5.13 MB / 0.5489 GB, free: 45.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001564/0.5438, allocations: 0.6402 MB / 0.5495 GB, free: 44.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002544/0.5463, allocations: 1.812 MB / 0.5513 GB, free: 43.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.5464, allocations: 480.7 kB / 0.5517 GB, free: 42.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.548, allocations: 0.6558 MB / 0.5524 GB, free: 41.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004489/0.5525, allocations: 8.65 MB / 0.5608 GB, free: 29.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008243/0.5608, allocations: 10.09 MB / 0.5707 GB, free: 16.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001694/0.5609, allocations: 56 kB / 0.5707 GB, free: 16.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.008894/0.5698, allocations: 6.448 MB / 0.577 GB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.275e-05/0.5699, allocations: 87.94 kB / 0.5771 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/0.57, allocations: 189 kB / 0.5773 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/0.5706, allocations: 351.3 kB / 0.5776 GB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/0.5735, allocations: 1.832 MB / 0.5794 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.5755, allocations: 5.532 MB / 0.5848 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0044/0.5799, allocations: 379.6 kB / 0.5852 GB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003744/0.5803, allocations: 440 kB / 0.5856 GB, free: 0.9023 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.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.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 (1017): * Single equations (assignments): 1011 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001799/0.5821, allocations: 0.8518 MB / 0.5864 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007692/0.5829, allocations: 0.5125 MB / 0.5869 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.584, allocations: 0.8875 MB / 0.5878 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.584, allocations: 19.39 kB / 0.5878 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5841, allocations: 0 / 0.5878 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.5841, allocations: 11.97 kB / 0.5878 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007449/0.5915, allocations: 5.627 MB / 0.5933 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.5915, allocations: 7.938 kB / 0.5933 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.592, allocations: 200.3 kB / 0.5935 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002978/0.5923, allocations: 119 kB / 0.5936 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.5924, allocations: 31.98 kB / 0.5937 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/0.5947, allocations: 5.189 MB / 0.5987 GB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5947, allocations: 7.938 kB / 0.5987 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.5967, allocations: 2.174 MB / 0.6009 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006422/0.5973, allocations: 480.5 kB / 0.6013 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.5976, allocations: 24 kB / 0.6013 GB, free: 124 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007898/0.5984, allocations: 39.98 kB / 0.6014 GB, free: 84 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.5986, allocations: 99.66 kB / 0.6015 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.5986, allocations: 35.94 kB / 0.6015 GB, free: 15.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002222/0.6009, allocations: 2.2 MB / 0.6037 GB, free: 13.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6009, allocations: 0 / 0.6037 GB, free: 13.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004569/0.6054, allocations: 1.371 MB / 0.605 GB, free: 12.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.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 (114): * Single equations (assignments): 108 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003226/0.6058, allocations: 178.6 kB / 0.6052 GB, free: 12.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003999/0.6098, allocations: 3.651 MB / 0.6087 GB, free: 8.555 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.6098, allocations: 0 / 0.6087 GB, free: 8.555 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007074/0.6105, allocations: 0.8625 MB / 0.6096 GB, free: 7.633 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.6125, allocations: 0.6495 MB / 0.6102 GB, free: 7.027 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.6269, allocations: 10.7 MB / 0.6206 GB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/0.6287, allocations: 1.796 MB / 0.6224 GB, free: 10.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001795/0.6305, allocations: 0.6818 MB / 0.6231 GB, free: 9.641 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.6317, allocations: 0.8065 MB / 0.6239 GB, free: 8.832 MB / 458.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6317, allocations: 0 / 0.6239 GB, free: 8.832 MB / 458.7 MB Notification: Performance of Templates: time 0.06797/0.6996, allocations: 40.12 MB / 0.663 GB, free: 1.367 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.70016598328948]