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) 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/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 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=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/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001891/0.001892, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 46.13 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 87.86 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4217, allocations: 62.44 MB / 0.5311 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.0189/0.4406, allocations: 15.4 MB / 0.5461 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.4536, allocations: 5.058 MB / 0.5511 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004014/0.4577, allocations: 103.7 kB / 0.5512 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009785/0.4675, allocations: 4.996 MB / 0.556 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008064/0.4756, allocations: 2.509 MB / 0.5585 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.4794, allocations: 1.232 MB / 0.5597 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0126/0.492, allocations: 7.961 MB / 0.5675 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009082/0.5012, allocations: 5.988 MB / 0.5733 GB, free: 6.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005963/0.5072, allocations: 2.516 MB / 0.5758 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006886/0.5141, allocations: 3.45 MB / 0.5791 GB, free: 252 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002892/0.517, allocations: 0.5391 MB / 0.5797 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006076/0.5231, allocations: 1.549 MB / 0.5812 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005393/0.5286, allocations: 3.129 MB / 0.5842 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007239/0.5359, allocations: 3.469 MB / 0.5876 GB, free: 7.531 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01762/0.5535, allocations: 10.87 MB / 0.5982 GB, free: 12.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.5535, allocations: 3.938 kB / 0.5982 GB, free: 12.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5536, allocations: 0 / 0.5982 GB, free: 12.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005308/0.5541, allocations: 0 / 0.5982 GB, free: 12.61 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.0253/0.5794, allocations: 7.729 MB / 0.6058 GB, free: 4.785 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.946e-05/0.5795, allocations: 8.031 kB / 0.6058 GB, free: 4.777 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01597/0.5955, allocations: 3.105 MB / 0.6088 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/0.6092, allocations: 4.855 MB / 0.6136 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004128/0.6096, allocations: 361.7 kB / 0.6139 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002422/0.612, allocations: 0.492 MB / 0.6144 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03005/0.6421, allocations: 14.28 MB / 0.6283 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002404/0.6424, allocations: 75.39 kB / 0.6284 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008338/0.6432, allocations: 227.8 kB / 0.6286 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004258/0.6475, allocations: 2.535 MB / 0.6311 GB, free: 9.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02575/0.6733, allocations: 11.85 MB / 0.6427 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07537/0.7487, allocations: 55.98 MB / 0.6973 GB, free: 4.453 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.7609, allocations: 4.652 MB / 0.7019 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004521/0.7655, allocations: 2.906 MB / 0.7047 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.7657, allocations: 41.55 kB / 0.7048 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.666e-05/0.7658, allocations: 59.44 kB / 0.7048 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=186): time 4.539e-06/0.7658, allocations: 0 / 0.7048 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=204): time 0.4132/1.179, allocations: 23.52 MB / 0.7278 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.179, allocations: 261.1 kB / 0.728 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01179/1.191, allocations: 6.69 MB / 0.7346 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007025/1.192, allocations: 60.98 kB / 0.7346 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002914/1.195, allocations: 4.654 MB / 0.7392 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/1.196, allocations: 0.8553 MB / 0.74 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001942/1.198, allocations: 1.675 MB / 0.7416 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.778e-05/1.198, allocations: 305.1 kB / 0.7419 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003478/1.201, allocations: 2.889 MB / 0.7448 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004997/1.206, allocations: 7.797 MB / 0.7524 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009597/1.216, allocations: 11.42 MB / 0.7635 GB, free: 129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001524/1.216, allocations: 48.75 kB / 0.7636 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.02383/1.24, allocations: 11.95 MB / 0.7752 GB, free: 117 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002201/1.24, allocations: 76 kB / 0.7753 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003477/1.24, allocations: 172 kB / 0.7755 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0046/1.245, allocations: 1.777 MB / 0.7772 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005806/1.251, allocations: 1.84 MB / 0.779 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/1.266, allocations: 12.61 MB / 0.7913 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00786/1.274, allocations: 459.6 kB / 0.7918 GB, free: 99.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001553/1.275, allocations: 492 kB / 0.7922 GB, free: 99.16 MB / 0.5606 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.006522/1.282, allocations: 2.967 MB / 0.7951 GB, free: 96.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002203/1.284, allocations: 0.5587 MB / 0.7957 GB, free: 95.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009507/1.293, allocations: 4.86 MB / 0.8004 GB, free: 90.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-05/1.294, allocations: 27.98 kB / 0.8004 GB, free: 90.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.819e-05/1.294, allocations: 8 kB / 0.8005 GB, free: 90.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-05/1.294, allocations: 11.97 kB / 0.8005 GB, free: 90.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0236/1.317, allocations: 11.08 MB / 0.8113 GB, free: 79.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/1.317, allocations: 4 kB / 0.8113 GB, free: 79.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/1.319, allocations: 319.5 kB / 0.8116 GB, free: 79.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003631/1.322, allocations: 1.493 MB / 0.813 GB, free: 77.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002472/1.323, allocations: 39.98 kB / 0.8131 GB, free: 77.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/1.333, allocations: 11.71 MB / 0.8245 GB, free: 65.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.333, allocations: 4 kB / 0.8245 GB, free: 65.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/1.344, allocations: 7.983 MB / 0.8323 GB, free: 57.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/1.347, allocations: 0.6377 MB / 0.833 GB, free: 56.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/1.348, allocations: 35.52 kB / 0.833 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/1.35, allocations: 147.7 kB / 0.8331 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004594/1.351, allocations: 121.3 kB / 0.8332 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/1.351, allocations: 56.09 kB / 0.8333 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006339/1.357, allocations: 4.257 MB / 0.8375 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/1.357, allocations: 0 / 0.8375 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01021/1.368, allocations: 1.449 MB / 0.8389 GB, free: 50.85 MB / 0.5606 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.0006326/1.368, allocations: 170.7 kB / 0.839 GB, free: 50.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01224/1.38, allocations: 7.113 MB / 0.846 GB, free: 43.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/1.381, allocations: 4.25 kB / 0.846 GB, free: 43.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003374/1.384, allocations: 2.284 MB / 0.8482 GB, free: 41.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007936/1.392, allocations: 0.7663 MB / 0.849 GB, free: 40.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/1.414, allocations: 13.75 MB / 0.8624 GB, free: 26.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005478/1.42, allocations: 4.532 MB / 0.8668 GB, free: 22.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005154/1.425, allocations: 2.479 MB / 0.8692 GB, free: 19.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.426, allocations: 351.4 kB / 0.8696 GB, free: 19.3 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/1.426, allocations: 0 / 0.8696 GB, free: 19.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.1029/1.529, allocations: 53.4 MB / 0.9217 GB, free: 14.2 MB / 0.6075 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches