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.00166/0.00166, allocations: 121 kB / 19.13 MB, free: 3.902 MB / 14.72 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.001988/0.001988, allocations: 210.6 kB / 22.08 MB, free: 0.9531 MB / 14.72 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.49/1.49, allocations: 227.4 MB / 252.3 MB, free: 40 kB / 190.1 MB " [Timeout remaining time 178] 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.2282/0.2282, allocations: 46.16 MB / 351.8 MB, free: 14.27 MB / 286.1 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 0.003773/0.003773, allocations: 85.83 kB / 490.9 MB, free: 27.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1485, allocations: 62.45 MB / 0.5404 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01814/0.1667, allocations: 15.4 MB / 0.5554 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.1788, allocations: 5.065 MB / 0.5604 GB, free: 15.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003408/0.1822, allocations: 107.7 kB / 0.5605 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.1928, allocations: 4.984 MB / 0.5653 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.2004, allocations: 2.512 MB / 0.5678 GB, free: 8.008 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.2042, allocations: 1.24 MB / 0.569 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0126/0.2168, allocations: 7.923 MB / 0.5767 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009426/0.2263, allocations: 5.956 MB / 0.5825 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005132/0.2315, allocations: 2.504 MB / 0.585 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005947/0.2374, allocations: 3.423 MB / 0.5883 GB, free: 2.836 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002078/0.2396, allocations: 0.5391 MB / 0.5889 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004159/0.2437, allocations: 1.541 MB / 0.5904 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004864/0.2486, allocations: 3.133 MB / 0.5934 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007377/0.256, allocations: 3.461 MB / 0.5968 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5581/0.8142, allocations: 10.82 MB / 0.6074 GB, free: 24.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.8142, allocations: 4.875 kB / 0.6074 GB, free: 24.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.8143, allocations: 0.75 kB / 0.6074 GB, free: 24.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004181/0.8147, allocations: 0 / 0.6074 GB, free: 24.71 MB / 462.1 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.0239/0.8386, allocations: 7.689 MB / 0.6149 GB, free: 21.76 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.8387, allocations: 13.69 kB / 0.6149 GB, free: 21.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01799/0.8567, allocations: 3.084 MB / 0.6179 GB, free: 21.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/0.87, allocations: 4.824 MB / 0.6226 GB, free: 20.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004756/0.8705, allocations: 362.4 kB / 0.623 GB, free: 20.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002755/0.8733, allocations: 496.2 kB / 0.6234 GB, free: 20.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03123/0.9045, allocations: 14.24 MB / 0.6373 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003635/0.905, allocations: 86.12 kB / 0.6374 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001492/0.9065, allocations: 228.7 kB / 0.6376 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004025/0.9105, allocations: 2.531 MB / 0.6401 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02264/0.9332, allocations: 11.77 MB / 0.6516 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07834/1.012, allocations: 55.79 MB / 0.7061 GB, free: 1.266 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/1.025, allocations: 4.682 MB / 0.7107 GB, free: 12.43 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004693/1.029, allocations: 2.946 MB / 0.7135 GB, free: 9.473 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/1.03, allocations: 39.23 kB / 0.7136 GB, free: 9.445 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/1.03, allocations: 58.56 kB / 0.7136 GB, free: 9.383 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=190): time 5.39e-06/1.03, allocations: 0 / 0.7136 GB, free: 9.383 MB / 0.5138 GB Notification: Performance of matching and sorting (n=208): time 0.07226/1.102, allocations: 23.64 MB / 0.7367 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002066/1.102, allocations: 260.7 kB / 0.737 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01442/1.117, allocations: 6.716 MB / 0.7435 GB, free: 10.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006829/1.117, allocations: 57.7 kB / 0.7436 GB, free: 10.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004773/1.122, allocations: 4.631 MB / 0.7481 GB, free: 5.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001412/1.124, allocations: 0.8685 MB / 0.749 GB, free: 5.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004133/1.128, allocations: 1.685 MB / 0.7506 GB, free: 3.418 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.128, allocations: 305.1 kB / 0.7509 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005263/1.133, allocations: 2.889 MB / 0.7537 GB, free: 228 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/1.144, allocations: 7.782 MB / 0.7613 GB, free: 6.086 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01674/1.161, allocations: 11.43 MB / 0.7725 GB, free: 8.945 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002168/1.161, allocations: 48 kB / 0.7725 GB, free: 8.898 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.02612/1.187, allocations: 11.93 MB / 0.7842 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002355/1.187, allocations: 83.98 kB / 0.7843 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003317/1.188, allocations: 172 kB / 0.7844 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005284/1.193, allocations: 1.77 MB / 0.7861 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006663/1.2, allocations: 1.907 MB / 0.788 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/1.217, allocations: 12.42 MB / 0.8001 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007127/1.224, allocations: 451.5 kB / 0.8006 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/1.226, allocations: 492 kB / 0.801 GB, free: 11.61 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * 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 (994): * Single equations (assignments): 988 * 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 {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006658/1.232, allocations: 2.954 MB / 0.8039 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001689/1.234, allocations: 0.5704 MB / 0.8045 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/1.245, allocations: 4.845 MB / 0.8092 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.064e-05/1.245, allocations: 26.66 kB / 0.8092 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-05/1.245, allocations: 8 kB / 0.8092 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.253e-05/1.245, allocations: 10.16 kB / 0.8092 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02612/1.272, allocations: 11.06 MB / 0.8201 GB, free: 8.059 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/1.272, allocations: 0 / 0.8201 GB, free: 8.059 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/1.274, allocations: 395.4 kB / 0.8204 GB, free: 7.672 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004582/1.278, allocations: 1.478 MB / 0.8219 GB, free: 6.191 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004035/1.279, allocations: 36 kB / 0.8219 GB, free: 6.156 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/1.295, allocations: 11.49 MB / 0.8331 GB, free: 10.27 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.295, allocations: 0 / 0.8331 GB, free: 10.27 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/1.31, allocations: 7.969 MB / 0.8409 GB, free: 2.273 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/1.313, allocations: 0.6339 MB / 0.8415 GB, free: 1.617 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002045/1.315, allocations: 36 kB / 0.8416 GB, free: 1.582 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00355/1.318, allocations: 131.8 kB / 0.8417 GB, free: 1.453 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000702/1.319, allocations: 127.5 kB / 0.8418 GB, free: 1.328 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003295/1.32, allocations: 55.98 kB / 0.8419 GB, free: 1.273 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.3217/1.641, allocations: 4.272 MB / 0.846 GB, free: 221.3 MB / 0.6388 GB Notification: Performance of sort global known variables: time 8.22e-07/1.641, allocations: 0 / 0.846 GB, free: 221.3 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01144/1.653, allocations: 1.45 MB / 0.8475 GB, free: 221.3 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (160): * Single equations (assignments): 154 * 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,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009797/1.654, allocations: 174.7 kB / 0.8476 GB, free: 221.2 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01416/1.668, allocations: 7.08 MB / 0.8545 GB, free: 219.3 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.668, allocations: 1.156 kB / 0.8545 GB, free: 219.3 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.004208/1.672, allocations: 2.264 MB / 0.8567 GB, free: 218.3 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007672/1.68, allocations: 0.7647 MB / 0.8575 GB, free: 218 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02787/1.708, allocations: 14.31 MB / 0.8715 GB, free: 211.9 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006333/1.714, allocations: 4.472 MB / 0.8758 GB, free: 210.3 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/1.716, allocations: 406.1 kB / 0.8762 GB, free: 210.2 MB / 0.6388 GB Notification: Performance of SimCode: time 8.01e-07/1.716, allocations: 0 / 0.8762 GB, free: 210.2 MB / 0.6388 GB Notification: Performance of Templates: time 0.1868/1.902, allocations: 165.4 MB / 1.038 GB, free: 51.49 MB / 0.6388 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.641994450008497]