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.001201/0.001201, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1912/0.1912, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 79.88 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2775, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01334/0.2909, allocations: 13.64 MB / 0.545 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009486/0.3004, allocations: 4.725 MB / 0.5496 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.3029, allocations: 95.03 kB / 0.5497 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007551/0.3105, allocations: 4.458 MB / 0.5541 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006128/0.3167, allocations: 2.264 MB / 0.5563 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.3194, allocations: 1.146 MB / 0.5574 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008193/0.3276, allocations: 6.344 MB / 0.5636 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005661/0.3333, allocations: 5.543 MB / 0.569 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003133/0.3365, allocations: 2.247 MB / 0.5712 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003813/0.3403, allocations: 2.944 MB / 0.5741 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.3414, allocations: 496 kB / 0.5745 GB, free: 5.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.344, allocations: 1.498 MB / 0.576 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002474/0.3465, allocations: 2.704 MB / 0.5787 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003389/0.3499, allocations: 3.065 MB / 0.5816 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009851/0.3598, allocations: 9.706 MB / 0.5911 GB, free: 4.594 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3598, allocations: 3.938 kB / 0.5911 GB, free: 4.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3599, allocations: 0 / 0.5911 GB, free: 4.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002692/0.3601, allocations: 0 / 0.5911 GB, free: 4.59 MB / 446.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.0136/0.3737, allocations: 6.68 MB / 0.5976 GB, free: 13.83 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3738, allocations: 9.109 kB / 0.5977 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009956/0.3837, allocations: 2.579 MB / 0.6002 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00795/0.3917, allocations: 3.878 MB / 0.604 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.392, allocations: 341 kB / 0.6043 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/0.3932, allocations: 459.8 kB / 0.6047 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02366/0.4169, allocations: 13.99 MB / 0.6184 GB, free: 7.699 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/0.4171, allocations: 63.42 kB / 0.6184 GB, free: 7.637 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007244/0.4178, allocations: 207.8 kB / 0.6186 GB, free: 7.434 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004066/0.4219, allocations: 2.539 MB / 0.6211 GB, free: 4.891 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02317/0.4451, allocations: 12.14 MB / 0.633 GB, free: 8.742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06237/0.5075, allocations: 51.67 MB / 0.6834 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01482/0.5224, allocations: 6.232 MB / 0.6895 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004494/0.5269, allocations: 3.867 MB / 0.6933 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01938/0.5463, allocations: 13.23 MB / 0.7062 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/0.5464, allocations: 60.5 kB / 0.7063 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=228): time 5.45e-06/0.5464, allocations: 4 kB / 0.7063 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=270): time 0.2852/0.8316, allocations: 29.42 MB / 0.735 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.8317, allocations: 208 kB / 0.7352 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004999/0.8367, allocations: 4.949 MB / 0.74 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004618/0.8372, allocations: 69.33 kB / 0.7401 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.8386, allocations: 3.8 MB / 0.7438 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009109/0.8396, allocations: 1.019 MB / 0.7448 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/0.8412, allocations: 1.509 MB / 0.7463 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.67e-05/0.8412, allocations: 309 kB / 0.7466 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/0.8446, allocations: 3.287 MB / 0.7498 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004492/0.8491, allocations: 7.346 MB / 0.757 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009111/0.8583, allocations: 11.39 MB / 0.7681 GB, free: 127 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-05/0.8584, allocations: 40 kB / 0.7681 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.01733/0.8757, allocations: 12.5 MB / 0.7803 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/0.8758, allocations: 67.98 kB / 0.7804 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.635e-05/0.8759, allocations: 140 kB / 0.7805 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004623/0.8805, allocations: 2.25 MB / 0.7827 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004834/0.8854, allocations: 1.696 MB / 0.7844 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.8985, allocations: 14.37 MB / 0.7984 GB, free: 95.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005116/0.9037, allocations: 439.4 kB / 0.7988 GB, free: 95.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000938/0.9046, allocations: 435.9 kB / 0.7993 GB, free: 94.77 MB / 0.5606 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.003421/0.9081, allocations: 2.692 MB / 0.8019 GB, free: 92.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008357/0.9089, allocations: 454.1 kB / 0.8023 GB, free: 91.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009761/0.9187, allocations: 7 MB / 0.8091 GB, free: 84.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/0.9187, allocations: 28 kB / 0.8092 GB, free: 84.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.9188, allocations: 8 kB / 0.8092 GB, free: 84.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-05/0.9188, allocations: 11.95 kB / 0.8092 GB, free: 84.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/0.9383, allocations: 14.12 MB / 0.823 GB, free: 70.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.9384, allocations: 4 kB / 0.823 GB, free: 70.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/0.9404, allocations: 455.3 kB / 0.8234 GB, free: 69.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004397/0.9448, allocations: 2.034 MB / 0.8254 GB, free: 67.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003425/0.9451, allocations: 44 kB / 0.8254 GB, free: 67.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.9585, allocations: 13.73 MB / 0.8389 GB, free: 53.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9586, allocations: 4.047 kB / 0.8389 GB, free: 53.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.9719, allocations: 11 MB / 0.8496 GB, free: 42.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.9731, allocations: 0.4992 MB / 0.8501 GB, free: 42.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/0.9743, allocations: 54.94 kB / 0.8501 GB, free: 42.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/0.9766, allocations: 207.7 kB / 0.8503 GB, free: 42.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004604/0.9771, allocations: 149.8 kB / 0.8505 GB, free: 41.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/0.9773, allocations: 67.98 kB / 0.8505 GB, free: 41.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003532/0.9808, allocations: 3.118 MB / 0.8536 GB, free: 38.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9808, allocations: 0 / 0.8536 GB, free: 38.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005353/0.9862, allocations: 1.432 MB / 0.855 GB, free: 37.31 MB / 0.5606 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.0004525/0.9867, allocations: 180.2 kB / 0.8552 GB, free: 37.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009038/0.9957, allocations: 8.053 MB / 0.863 GB, free: 29.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.9958, allocations: 0 / 0.863 GB, free: 29.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004368/1, allocations: 3.429 MB / 0.8664 GB, free: 25.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/1.003, allocations: 0.622 MB / 0.867 GB, free: 25.01 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/1.02, allocations: 13.92 MB / 0.8806 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003289/1.024, allocations: 4.162 MB / 0.8846 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.025, allocations: 367.4 kB / 0.885 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/1.025, allocations: 0 / 0.885 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.3425/1.368, allocations: 128.4 MB / 1.01 GB, free: 166.2 MB / 0.6231 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