Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001819/0.001819, allocations: 112 kB / 17.98 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002618/0.002618, allocations: 205.8 kB / 18.92 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.539/2.539, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3942/0.3942, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003022/0.003022, allocations: 71.8 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2618, allocations: 62.45 MB / 480.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.5674/0.8294, allocations: 72.64 MB / 0.5398 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06067/0.8901, allocations: 14.3 MB / 0.5538 GB, free: 8.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02559/0.9158, allocations: 316.7 kB / 0.5541 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0163/0.9322, allocations: 4.313 MB / 0.5583 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01283/0.9451, allocations: 2.041 MB / 0.5603 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00602/0.9511, allocations: 1.084 MB / 0.5614 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01951/0.9707, allocations: 6.742 MB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03361/1.004, allocations: 5.83 MB / 0.5736 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008699/1.013, allocations: 2.266 MB / 0.5759 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008741/1.022, allocations: 3.248 MB / 0.579 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003413/1.025, allocations: 496 kB / 0.5795 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007155/1.033, allocations: 1.522 MB / 0.581 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006701/1.039, allocations: 2.724 MB / 0.5837 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009798/1.049, allocations: 3.088 MB / 0.5867 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02604/1.075, allocations: 7.746 MB / 0.5942 GB, free: 2.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/1.076, allocations: 0 / 0.5942 GB, free: 2.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.795e-06/1.076, allocations: 0 / 0.5942 GB, free: 2.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004333/1.076, allocations: 0 / 0.5942 GB, free: 2.352 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1985 * Number of variables: 1985 Notification: Performance of Generate backend data structure: time 0.04963/1.126, allocations: 6.676 MB / 0.6008 GB, free: 11.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.004123/1.13, allocations: 13.11 kB / 0.6008 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03682/1.167, allocations: 2.575 MB / 0.6033 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02088/1.188, allocations: 3.819 MB / 0.607 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006085/1.188, allocations: 333 kB / 0.6073 GB, free: 4.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002705/1.191, allocations: 452.1 kB / 0.6078 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05531/1.246, allocations: 13.99 MB / 0.6214 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005139/1.247, allocations: 59.52 kB / 0.6215 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002707/1.25, allocations: 211.8 kB / 0.6217 GB, free: 5.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009326/1.259, allocations: 2.531 MB / 0.6241 GB, free: 2.734 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07277/1.332, allocations: 12.14 MB / 0.636 GB, free: 6.578 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1519/1.484, allocations: 51.93 MB / 0.6867 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03357/1.518, allocations: 6.249 MB / 0.6928 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01045/1.528, allocations: 3.859 MB / 0.6966 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0744/1.603, allocations: 13.23 MB / 0.7095 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/1.603, allocations: 60.55 kB / 0.7096 GB, free: 9.594 MB / 0.545 GB Notification: Performance of pre-optimization done (n=228): time 1.006e-05/1.603, allocations: 0 / 0.7096 GB, free: 9.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=270): time 0.5584/2.161, allocations: 29.42 MB / 0.7383 GB, free: 192.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/2.161, allocations: 208.9 kB / 0.7385 GB, free: 192.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01575/2.177, allocations: 4.952 MB / 0.7433 GB, free: 190.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001198/2.179, allocations: 65.61 kB / 0.7434 GB, free: 190.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004168/2.183, allocations: 3.803 MB / 0.7471 GB, free: 187.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002261/2.185, allocations: 1.003 MB / 0.7481 GB, free: 187.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006529/2.192, allocations: 1.522 MB / 0.7496 GB, free: 186.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.828e-05/2.192, allocations: 306.8 kB / 0.7499 GB, free: 186.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008653/2.2, allocations: 3.285 MB / 0.7531 GB, free: 185.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01164/2.212, allocations: 7.337 MB / 0.7602 GB, free: 178.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01847/2.231, allocations: 11.41 MB / 0.7714 GB, free: 165.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002121/2.231, allocations: 40 kB / 0.7714 GB, free: 165.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.03926/2.27, allocations: 12.49 MB / 0.7836 GB, free: 153.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/2.27, allocations: 68.06 kB / 0.7837 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002242/2.271, allocations: 140 kB / 0.7838 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/2.282, allocations: 2.257 MB / 0.786 GB, free: 150.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0115/2.294, allocations: 1.688 MB / 0.7877 GB, free: 149 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02861/2.322, allocations: 14.41 MB / 0.8017 GB, free: 134.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01509/2.338, allocations: 439.4 kB / 0.8022 GB, free: 133.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006659/2.344, allocations: 435.3 kB / 0.8026 GB, free: 133.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (888): * Single equations (assignments): 883 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01337/2.358, allocations: 2.685 MB / 0.8052 GB, free: 130.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002753/2.36, allocations: 446.2 kB / 0.8056 GB, free: 130.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0423/2.403, allocations: 7 MB / 0.8125 GB, free: 123.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-05/2.403, allocations: 28 kB / 0.8125 GB, free: 123.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.106e-05/2.403, allocations: 9.031 kB / 0.8125 GB, free: 123.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.931e-05/2.403, allocations: 15.95 kB / 0.8125 GB, free: 123.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06798/2.471, allocations: 14.34 MB / 0.8265 GB, free: 109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.166e-05/2.471, allocations: 0 / 0.8265 GB, free: 109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005457/2.477, allocations: 451.3 kB / 0.8269 GB, free: 108.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01084/2.488, allocations: 2.041 MB / 0.8289 GB, free: 106.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001238/2.489, allocations: 44 kB / 0.829 GB, free: 106.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0302/2.519, allocations: 13.65 MB / 0.8423 GB, free: 92.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/2.519, allocations: 0 / 0.8423 GB, free: 92.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03259/2.552, allocations: 10.98 MB / 0.853 GB, free: 81.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/2.554, allocations: 0.4951 MB / 0.8535 GB, free: 80.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002529/2.557, allocations: 44 kB / 0.8536 GB, free: 80.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005604/2.562, allocations: 211.6 kB / 0.8538 GB, free: 80.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001523/2.564, allocations: 153.8 kB / 0.8539 GB, free: 80.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008784/2.565, allocations: 64 kB / 0.854 GB, free: 80.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.009965/2.575, allocations: 3.114 MB / 0.857 GB, free: 77.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.443e-06/2.575, allocations: 0 / 0.857 GB, free: 77.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01386/2.589, allocations: 1.435 MB / 0.8584 GB, free: 75.96 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (212): * Single equations (assignments): 207 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001549/2.59, allocations: 190.7 kB / 0.8586 GB, free: 75.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.03172/2.622, allocations: 11.24 MB / 0.8696 GB, free: 64.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/2.622, allocations: 4 kB / 0.8696 GB, free: 64.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0102/2.632, allocations: 3.427 MB / 0.8729 GB, free: 61.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00945/2.642, allocations: 0.6307 MB / 0.8735 GB, free: 60.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04129/2.683, allocations: 16.69 MB / 0.8898 GB, free: 43.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009551/2.693, allocations: 4.173 MB / 0.8939 GB, free: 39.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002978/2.696, allocations: 363.4 kB / 0.8943 GB, free: 39.23 MB / 0.545 GB Notification: Performance of SimCode: time 1.603e-06/2.696, allocations: 0 / 0.8943 GB, free: 39.23 MB / 0.545 GB Notification: Performance of Templates: time 0.6239/3.32, allocations: 127.6 MB / 1.019 GB, free: 105.7 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches