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.001572/0.001572, allocations: 113.8 kB / 19.13 MB, free: 3.922 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.001718/0.001718, allocations: 208.9 kB / 22.08 MB, free: 0.9727 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.502/1.502, allocations: 227.4 MB / 252.3 MB, free: 64 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.2269/0.2269, allocations: 46.18 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.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 0.002279/0.002279, allocations: 78.34 kB / 490.9 MB, free: 28.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1249, allocations: 62.46 MB / 0.5404 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01854/0.1435, allocations: 15.4 MB / 0.5554 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.1556, allocations: 5.046 MB / 0.5603 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/0.159, allocations: 107.7 kB / 0.5604 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01023/0.1693, allocations: 4.996 MB / 0.5653 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007782/0.1771, allocations: 2.505 MB / 0.5678 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.1808, allocations: 1.244 MB / 0.569 GB, free: 6.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01253/0.1934, allocations: 7.953 MB / 0.5767 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009364/0.2028, allocations: 5.987 MB / 0.5826 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00553/0.2084, allocations: 2.516 MB / 0.5851 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006249/0.2147, allocations: 3.45 MB / 0.5884 GB, free: 2.766 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002126/0.2168, allocations: 0.5352 MB / 0.5889 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004304/0.2211, allocations: 1.553 MB / 0.5905 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004633/0.2258, allocations: 3.133 MB / 0.5935 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00662/0.2325, allocations: 3.469 MB / 0.5969 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5625/0.795, allocations: 10.87 MB / 0.6075 GB, free: 24.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.7951, allocations: 0 / 0.6075 GB, free: 24.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7951, allocations: 0.7188 kB / 0.6075 GB, free: 24.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004067/0.7955, allocations: 0 / 0.6075 GB, free: 24.76 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: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.02423/0.8197, allocations: 7.73 MB / 0.6151 GB, free: 21.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.8198, allocations: 10 kB / 0.6151 GB, free: 21.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01743/0.8372, allocations: 3.103 MB / 0.6181 GB, free: 21.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01206/0.8493, allocations: 4.855 MB / 0.6228 GB, free: 20.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004922/0.8499, allocations: 364.5 kB / 0.6232 GB, free: 20.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003163/0.8531, allocations: 498 kB / 0.6237 GB, free: 20.44 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02793/0.881, allocations: 14.28 MB / 0.6376 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003331/0.8814, allocations: 79.27 kB / 0.6377 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001415/0.8828, allocations: 228.7 kB / 0.6379 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003695/0.8865, allocations: 2.54 MB / 0.6404 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02274/0.9093, allocations: 11.83 MB / 0.6519 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08193/0.9913, allocations: 55.99 MB / 0.7066 GB, free: 0.8945 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/1.004, allocations: 4.648 MB / 0.7112 GB, free: 12.09 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004561/1.009, allocations: 2.903 MB / 0.714 GB, free: 9.18 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/1.009, allocations: 33.81 kB / 0.714 GB, free: 9.16 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.763e-05/1.009, allocations: 58.09 kB / 0.7141 GB, free: 9.098 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=186): time 7.725e-06/1.009, allocations: 0 / 0.7141 GB, free: 9.098 MB / 0.5138 GB Notification: Performance of matching and sorting (n=204): time 0.07281/1.082, allocations: 23.53 MB / 0.7371 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000228/1.082, allocations: 256.8 kB / 0.7373 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01502/1.097, allocations: 6.69 MB / 0.7438 GB, free: 10.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005852/1.098, allocations: 53.7 kB / 0.7439 GB, free: 10.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005068/1.103, allocations: 4.65 MB / 0.7484 GB, free: 5.805 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001527/1.105, allocations: 0.858 MB / 0.7493 GB, free: 4.957 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005342/1.11, allocations: 1.678 MB / 0.7509 GB, free: 3.262 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.11, allocations: 305.1 kB / 0.7512 GB, free: 2.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005773/1.116, allocations: 2.893 MB / 0.754 GB, free: 60 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01224/1.128, allocations: 7.796 MB / 0.7616 GB, free: 5.906 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01612/1.144, allocations: 11.42 MB / 0.7728 GB, free: 8.773 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002132/1.145, allocations: 48 kB / 0.7728 GB, free: 8.727 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.02684/1.171, allocations: 11.94 MB / 0.7845 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002618/1.172, allocations: 80 kB / 0.7846 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003618/1.172, allocations: 175.9 kB / 0.7848 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005721/1.178, allocations: 1.781 MB / 0.7865 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006763/1.185, allocations: 1.836 MB / 0.7883 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/1.203, allocations: 12.61 MB / 0.8006 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007322/1.21, allocations: 455.4 kB / 0.801 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/1.212, allocations: 492 kB / 0.8015 GB, free: 11.24 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 (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 (987): * Single equations (assignments): 981 * 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,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006854/1.219, allocations: 2.964 MB / 0.8044 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001775/1.221, allocations: 0.5743 MB / 0.805 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/1.232, allocations: 4.86 MB / 0.8097 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.347e-05/1.232, allocations: 22.42 kB / 0.8097 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.49e-05/1.232, allocations: 8 kB / 0.8097 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.541e-05/1.232, allocations: 15.91 kB / 0.8098 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02649/1.259, allocations: 11.07 MB / 0.8206 GB, free: 7.652 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/1.259, allocations: 4 kB / 0.8206 GB, free: 7.648 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/1.26, allocations: 323.5 kB / 0.8209 GB, free: 7.332 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004607/1.265, allocations: 1.489 MB / 0.8223 GB, free: 5.836 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003874/1.265, allocations: 39.98 kB / 0.8224 GB, free: 5.797 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/1.281, allocations: 11.71 MB / 0.8338 GB, free: 9.707 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.281, allocations: 4 kB / 0.8338 GB, free: 9.703 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/1.297, allocations: 7.992 MB / 0.8416 GB, free: 1.684 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002149/1.299, allocations: 0.63 MB / 0.8422 GB, free: 1.031 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/1.301, allocations: 32 kB / 0.8423 GB, free: 1 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003374/1.304, allocations: 147.8 kB / 0.8424 GB, free: 0.8555 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006043/1.305, allocations: 125.1 kB / 0.8425 GB, free: 0.7344 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003263/1.305, allocations: 55.98 kB / 0.8426 GB, free: 0.6797 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.3258/1.631, allocations: 4.25 MB / 0.8467 GB, free: 221.8 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.643e-06/1.631, allocations: 1.969 kB / 0.8467 GB, free: 221.8 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.009442/1.641, allocations: 1.455 MB / 0.8481 GB, free: 221.8 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,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 (153): * Single equations (assignments): 147 * 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,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000742/1.641, allocations: 172.7 kB / 0.8483 GB, free: 221.7 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01312/1.655, allocations: 7.104 MB / 0.8553 GB, free: 219.6 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.655, allocations: 0 / 0.8553 GB, free: 219.6 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.003484/1.658, allocations: 2.289 MB / 0.8575 GB, free: 218.6 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005398/1.664, allocations: 0.7527 MB / 0.8582 GB, free: 218.3 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/1.69, allocations: 14.32 MB / 0.8722 GB, free: 212.2 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005723/1.696, allocations: 4.495 MB / 0.8766 GB, free: 210.5 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/1.697, allocations: 410.5 kB / 0.877 GB, free: 210.5 MB / 0.6388 GB Notification: Performance of SimCode: time 7.61e-07/1.697, allocations: 0 / 0.877 GB, free: 210.5 MB / 0.6388 GB Notification: Performance of Templates: time 0.1639/1.861, allocations: 165.8 MB / 1.039 GB, free: 50.43 MB / 0.6388 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.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.13762381207198]