Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 108.7 kB / 17.98 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.001171, allocations: 193.3 kB / 18.9 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 242.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.212/0.212, allocations: 44.18 MB / 336.9 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 68.23 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1089, allocations: 60.82 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3665/0.4754, allocations: 99.67 MB / 0.5557 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05351/0.529, allocations: 18.94 MB / 0.5742 GB, free: 9.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02372/0.5528, allocations: 430.9 kB / 0.5746 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.5632, allocations: 4.87 MB / 0.5794 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008534/0.5718, allocations: 2.417 MB / 0.5817 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.5756, allocations: 1.174 MB / 0.5829 GB, free: 320 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01238/0.5881, allocations: 8.514 MB / 0.5912 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0103/0.5984, allocations: 6.368 MB / 0.5974 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00579/0.6042, allocations: 2.621 MB / 0.6 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006261/0.6106, allocations: 3.903 MB / 0.6038 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002117/0.6127, allocations: 0.5469 MB / 0.6043 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004172/0.6169, allocations: 1.6 MB / 0.6059 GB, free: 8.664 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004929/0.6219, allocations: 3.277 MB / 0.6091 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007567/0.6295, allocations: 3.62 MB / 0.6126 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.6414, allocations: 8.958 MB / 0.6214 GB, free: 8.758 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.6415, allocations: 0 / 0.6214 GB, free: 8.758 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6415, allocations: 0 / 0.6214 GB, free: 8.758 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004063/0.6419, allocations: 0 / 0.6214 GB, free: 8.758 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01954/0.6614, allocations: 7.706 MB / 0.6289 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.6615, allocations: 8.031 kB / 0.6289 GB, free: 0.957 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01514/0.6767, allocations: 3.116 MB / 0.6319 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.6875, allocations: 4.888 MB / 0.6367 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003604/0.6879, allocations: 365.9 kB / 0.6371 GB, free: 8.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/0.6899, allocations: 500 kB / 0.6375 GB, free: 8.012 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02927/0.7192, allocations: 14.85 MB / 0.652 GB, free: 8.141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002713/0.7195, allocations: 79.3 kB / 0.6521 GB, free: 8.062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001262/0.7208, allocations: 235.8 kB / 0.6523 GB, free: 7.832 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004785/0.7256, allocations: 2.727 MB / 0.655 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02382/0.7494, allocations: 12.3 MB / 0.667 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.268/1.018, allocations: 57.38 MB / 0.7231 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/1.03, allocations: 4.653 MB / 0.7276 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003921/1.034, allocations: 2.893 MB / 0.7304 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/1.034, allocations: 46.08 kB / 0.7305 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/1.034, allocations: 59.12 kB / 0.7305 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=186): time 4.738e-06/1.034, allocations: 0 / 0.7305 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=204): time 0.05377/1.088, allocations: 23.31 MB / 0.7533 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/1.088, allocations: 259.2 kB / 0.7535 GB, free: 142 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008473/1.096, allocations: 6.732 MB / 0.7601 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004195/1.097, allocations: 53.7 kB / 0.7602 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002271/1.099, allocations: 4.616 MB / 0.7647 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007939/1.1, allocations: 0.8192 MB / 0.7655 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001797/1.102, allocations: 1.681 MB / 0.7671 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.325e-05/1.102, allocations: 305.1 kB / 0.7674 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00312/1.105, allocations: 2.907 MB / 0.7702 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004985/1.11, allocations: 7.862 MB / 0.7779 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008986/1.119, allocations: 11.52 MB / 0.7892 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/1.119, allocations: 51.94 kB / 0.7892 GB, free: 104 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1062) (initialization): time 0.01805/1.137, allocations: 11.99 MB / 0.8009 GB, free: 92.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.137, allocations: 80 kB / 0.801 GB, free: 91.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/1.137, allocations: 172.8 kB / 0.8012 GB, free: 91.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00407/1.142, allocations: 1.784 MB / 0.8029 GB, free: 90 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005282/1.147, allocations: 1.856 MB / 0.8047 GB, free: 88.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/1.158, allocations: 12.62 MB / 0.817 GB, free: 75.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006477/1.165, allocations: 459.3 kB / 0.8175 GB, free: 74.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001378/1.166, allocations: 0.489 MB / 0.818 GB, free: 74.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.arrowLine.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 (996): * Single equations (assignments): 990 * 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.004311/1.171, allocations: 3.047 MB / 0.8209 GB, free: 71.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.172, allocations: 0.5432 MB / 0.8215 GB, free: 70.58 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007654/1.179, allocations: 4.869 MB / 0.8262 GB, free: 65.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-05/1.179, allocations: 20 kB / 0.8262 GB, free: 65.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/1.18, allocations: 8 kB / 0.8262 GB, free: 65.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/1.18, allocations: 11.97 kB / 0.8263 GB, free: 65.65 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/1.198, allocations: 11.26 MB / 0.8373 GB, free: 54.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/1.198, allocations: 0 / 0.8373 GB, free: 54.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/1.2, allocations: 331.4 kB / 0.8376 GB, free: 54.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003651/1.203, allocations: 1.501 MB / 0.839 GB, free: 52.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002657/1.204, allocations: 36 kB / 0.8391 GB, free: 52.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/1.214, allocations: 11.71 MB / 0.8505 GB, free: 40.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.214, allocations: 3.938 kB / 0.8505 GB, free: 40.37 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/1.225, allocations: 7.956 MB / 0.8583 GB, free: 32.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/1.226, allocations: 0.6072 MB / 0.8589 GB, free: 31.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009089/1.227, allocations: 32 kB / 0.8589 GB, free: 31.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.229, allocations: 147.8 kB / 0.859 GB, free: 31.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003808/1.23, allocations: 121.2 kB / 0.8592 GB, free: 31.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.23, allocations: 59.53 kB / 0.8592 GB, free: 31.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005589/1.236, allocations: 4.293 MB / 0.8634 GB, free: 27.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/1.236, allocations: 0 / 0.8634 GB, free: 27.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007118/1.243, allocations: 1.487 MB / 0.8649 GB, free: 25.63 MB / 0.5294 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.0004665/1.243, allocations: 173.8 kB / 0.865 GB, free: 25.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009932/1.253, allocations: 7.914 MB / 0.8728 GB, free: 17.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.253, allocations: 2 kB / 0.8728 GB, free: 17.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002512/1.256, allocations: 2.292 MB / 0.875 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/1.26, allocations: 0.7865 MB / 0.8758 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/1.282, allocations: 17.47 MB / 0.8928 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005892/1.288, allocations: 4.624 MB / 0.8973 GB, free: 8.301 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001392/1.289, allocations: 403.4 kB / 0.8977 GB, free: 7.906 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/1.289, allocations: 0 / 0.8977 GB, free: 7.906 MB / 0.545 GB Notification: Performance of Templates: time 0.3655/1.655, allocations: 169.5 MB / 1.063 GB, free: 73.86 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches