Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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.001033/0.001033, allocations: 84.25 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.001367/0.001367, allocations: 167.3 kB / 25.61 MB, free: 8.473 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.061/1.061, allocations: 177 MB / 205.9 MB, free: 4.445 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.1541/0.1541, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 180] 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.WorldForces2,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.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,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.WorldForces2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.997e-05, allocations: 3.016 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.0102/0.01022, allocations: 14.51 MB / 394.5 MB, free: 8.148 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.02023, allocations: 4.965 MB / 399.5 MB, free: 3.168 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.02233, allocations: 127.4 kB / 399.6 MB, free: 3.043 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004958/0.02729, allocations: 5.292 MB / 404.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005494/0.03278, allocations: 2.686 MB / 407.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.03496, allocations: 1.392 MB / 409 MB, free: 9.637 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.04728, allocations: 9.037 MB / 418 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006551/0.05383, allocations: 5.643 MB / 423.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007064/0.0609, allocations: 5.381 MB / 429.1 MB, free: 5.461 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00442/0.06532, allocations: 3.874 MB / 432.9 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007251/0.06604, allocations: 0.5547 MB / 433.5 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.06855, allocations: 1.514 MB / 435 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002501/0.07105, allocations: 3.39 MB / 438.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002094/0.07314, allocations: 2.095 MB / 440.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007328/0.08047, allocations: 7.003 MB / 447.5 MB, free: 2.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.08048, allocations: 0 / 447.5 MB, free: 2.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.08048, allocations: 0 / 447.5 MB, free: 2.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.964e-05/0.08056, allocations: 0 / 447.5 MB, free: 2.98 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: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.01132/0.09187, allocations: 7.847 MB / 455.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.09193, allocations: 8.031 kB / 455.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009415/0.1013, allocations: 2.705 MB / 458 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00485/0.1062, allocations: 3.493 MB / 461.5 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.1064, allocations: 357.7 kB / 461.9 MB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005544/0.1069, allocations: 488.1 kB / 462.4 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008998/0.1159, allocations: 8.035 MB / 470.4 MB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.1161, allocations: 67.45 kB / 470.5 MB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003738/0.1164, allocations: 231.8 kB / 470.7 MB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001881/0.1183, allocations: 2.223 MB / 472.9 MB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006278/0.1246, allocations: 3.393 MB / 476.3 MB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2855/0.4101, allocations: 61.83 MB / 0.5255 GB, free: 58.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005026/0.4151, allocations: 1.977 MB / 0.5275 GB, free: 58.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006168/0.4157, allocations: 0.5297 MB / 0.528 GB, free: 58.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006107/0.4218, allocations: 4.803 MB / 0.5327 GB, free: 56.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.4219, allocations: 48.58 kB / 0.5327 GB, free: 56.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=147): time 4.368e-06/0.4219, allocations: 4.828 kB / 0.5327 GB, free: 56.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.01366/0.4355, allocations: 5.723 MB / 0.5383 GB, free: 55.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.4356, allocations: 255.2 kB / 0.5386 GB, free: 54.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004382/0.44, allocations: 5.372 MB / 0.5438 GB, free: 50.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.4401, allocations: 45.7 kB / 0.5438 GB, free: 50.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002137/0.4422, allocations: 5.097 MB / 0.5488 GB, free: 45.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000401/0.4426, allocations: 0.6944 MB / 0.5495 GB, free: 44.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/0.4439, allocations: 1.828 MB / 0.5513 GB, free: 42.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.444, allocations: 480.7 kB / 0.5517 GB, free: 42.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.445, allocations: 0.6795 MB / 0.5524 GB, free: 41.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003468/0.4485, allocations: 8.679 MB / 0.5609 GB, free: 29.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006105/0.4546, allocations: 10.16 MB / 0.5708 GB, free: 16.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.565e-05/0.4546, allocations: 56 kB / 0.5708 GB, free: 16.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=1060) (initialization): time 0.007553/0.4622, allocations: 6.525 MB / 0.5772 GB, free: 9.547 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.549e-05/0.4622, allocations: 84 kB / 0.5773 GB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/0.4624, allocations: 188 kB / 0.5775 GB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/0.463, allocations: 363.5 kB / 0.5778 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/0.4658, allocations: 1.875 MB / 0.5797 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.4681, allocations: 5.56 MB / 0.5851 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/0.472, allocations: 375.6 kB / 0.5854 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/0.4723, allocations: 439.9 kB / 0.5859 GB, free: 352 kB / 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 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1033): * Single equations (assignments): 1027 * 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.001876/0.4742, allocations: 0.8612 MB / 0.5867 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006112/0.4748, allocations: 0.5159 MB / 0.5872 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.4765, allocations: 0.9585 MB / 0.5881 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.4765, allocations: 23.94 kB / 0.5882 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.4765, allocations: 4 kB / 0.5882 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.4765, allocations: 10.91 kB / 0.5882 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008051/0.4846, allocations: 5.704 MB / 0.5938 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.4846, allocations: 8 kB / 0.5938 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.4852, allocations: 235.6 kB / 0.594 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003831/0.4856, allocations: 123 kB / 0.5941 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.989e-05/0.4857, allocations: 35.98 kB / 0.5941 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002922/0.4886, allocations: 5.207 MB / 0.5992 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.4886, allocations: 11.94 kB / 0.5992 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.4908, allocations: 2.272 MB / 0.6015 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/0.4914, allocations: 479.5 kB / 0.6019 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003359/0.4918, allocations: 35.98 kB / 0.6019 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008042/0.4926, allocations: 35.94 kB / 0.602 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.4927, allocations: 116.1 kB / 0.6021 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/0.4928, allocations: 36 kB / 0.6021 GB, free: 15.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002485/0.4953, allocations: 2.18 MB / 0.6043 GB, free: 12.87 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4953, allocations: 0 / 0.6043 GB, free: 12.87 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00505/0.5003, allocations: 1.394 MB / 0.6056 GB, free: 11.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 6 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (126): * Single equations (assignments): 120 * 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.0003915/0.5007, allocations: 182.6 kB / 0.6058 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004427/0.5051, allocations: 3.71 MB / 0.6094 GB, free: 7.555 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.5052, allocations: 0 / 0.6094 GB, free: 7.555 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000747/0.5059, allocations: 0.8984 MB / 0.6103 GB, free: 6.605 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.5085, allocations: 0.6593 MB / 0.6109 GB, free: 5.992 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.5246, allocations: 10.75 MB / 0.6214 GB, free: 11.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/0.5263, allocations: 1.784 MB / 0.6232 GB, free: 9.219 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001816/0.5281, allocations: 0.6746 MB / 0.6238 GB, free: 8.543 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/0.5292, allocations: 0.8105 MB / 0.6246 GB, free: 7.73 MB / 458.7 MB Notification: Performance of SimCode: time 1.794e-06/0.5292, allocations: 0 / 0.6246 GB, free: 7.73 MB / 458.7 MB Notification: Performance of Templates: time 0.06682/0.5961, allocations: 39.8 MB / 0.6635 GB, free: 0.6094 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.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.336370514705777]