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.001588/0.001588, 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.00199/0.001991, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 76.16 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3854, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01725/0.4027, allocations: 13.66 MB / 0.545 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.4154, allocations: 4.726 MB / 0.5496 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003529/0.4189, allocations: 90.19 kB / 0.5497 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009061/0.428, allocations: 4.458 MB / 0.5541 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007142/0.4352, allocations: 2.198 MB / 0.5562 GB, free: 8.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.4386, allocations: 1.146 MB / 0.5573 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.4489, allocations: 6.347 MB / 0.5635 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008821/0.4577, allocations: 5.551 MB / 0.5689 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004177/0.4619, allocations: 2.228 MB / 0.5711 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004799/0.4668, allocations: 2.948 MB / 0.574 GB, free: 6.207 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001678/0.4685, allocations: 496 kB / 0.5745 GB, free: 5.723 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.4722, allocations: 1.506 MB / 0.5759 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003957/0.4762, allocations: 2.704 MB / 0.5786 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005899/0.4821, allocations: 3.061 MB / 0.5816 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.4955, allocations: 9.706 MB / 0.5911 GB, free: 4.688 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4956, allocations: 0 / 0.5911 GB, free: 4.688 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4956, allocations: 0 / 0.5911 GB, free: 4.688 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003854/0.496, allocations: 0 / 0.5911 GB, free: 4.688 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.01971/0.5157, allocations: 6.684 MB / 0.5976 GB, free: 13.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.5157, allocations: 13.11 kB / 0.5976 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/0.5279, allocations: 2.571 MB / 0.6001 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009828/0.5378, allocations: 3.881 MB / 0.6039 GB, free: 7.387 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/0.5381, allocations: 337 kB / 0.6042 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.54, allocations: 455.8 kB / 0.6047 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02855/0.5685, allocations: 13.98 MB / 0.6183 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001856/0.5688, allocations: 63.42 kB / 0.6184 GB, free: 7.742 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007375/0.5695, allocations: 207.8 kB / 0.6186 GB, free: 7.539 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00474/0.5742, allocations: 2.543 MB / 0.621 GB, free: 4.992 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02746/0.6017, allocations: 12.14 MB / 0.6329 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06648/0.6683, allocations: 51.68 MB / 0.6834 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01673/0.685, allocations: 6.229 MB / 0.6895 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005264/0.6904, allocations: 3.859 MB / 0.6932 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02277/0.7132, allocations: 13.23 MB / 0.7061 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.065e-05/0.7133, allocations: 64.5 kB / 0.7062 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=228): time 6.573e-06/0.7133, allocations: 4 kB / 0.7062 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=270): time 0.352/1.065, allocations: 29.42 MB / 0.7349 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/1.065, allocations: 214 kB / 0.7351 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005791/1.071, allocations: 4.956 MB / 0.74 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005521/1.072, allocations: 65.33 kB / 0.74 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/1.073, allocations: 3.799 MB / 0.7437 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009985/1.074, allocations: 1.012 MB / 0.7447 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/1.076, allocations: 1.511 MB / 0.7462 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.361e-05/1.076, allocations: 305.1 kB / 0.7465 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/1.08, allocations: 3.284 MB / 0.7497 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004931/1.085, allocations: 7.35 MB / 0.7569 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009808/1.094, allocations: 11.4 MB / 0.768 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.464e-05/1.095, allocations: 40 kB / 0.7681 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.0196/1.114, allocations: 12.5 MB / 0.7803 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.078e-05/1.114, allocations: 64.19 kB / 0.7803 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/1.114, allocations: 144 kB / 0.7805 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005237/1.12, allocations: 2.246 MB / 0.7827 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005533/1.125, allocations: 1.693 MB / 0.7843 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/1.14, allocations: 14.39 MB / 0.7984 GB, free: 95.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00633/1.146, allocations: 435.4 kB / 0.7988 GB, free: 95.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/1.147, allocations: 435.9 kB / 0.7992 GB, free: 94.88 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.004435/1.152, allocations: 2.688 MB / 0.8018 GB, free: 92.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.153, allocations: 450.2 kB / 0.8022 GB, free: 91.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/1.164, allocations: 6.996 MB / 0.8091 GB, free: 84.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-05/1.164, allocations: 28 kB / 0.8091 GB, free: 84.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/1.164, allocations: 8 kB / 0.8091 GB, free: 84.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.354e-05/1.164, allocations: 15.95 kB / 0.8091 GB, free: 84.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/1.185, allocations: 14.13 MB / 0.8229 GB, free: 70.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.087e-05/1.185, allocations: 0 / 0.8229 GB, free: 70.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002337/1.188, allocations: 455.3 kB / 0.8234 GB, free: 70.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004824/1.193, allocations: 2.042 MB / 0.8253 GB, free: 68.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005036/1.193, allocations: 47.98 kB / 0.8254 GB, free: 68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/1.208, allocations: 13.73 MB / 0.8388 GB, free: 54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.208, allocations: 4 kB / 0.8388 GB, free: 54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/1.223, allocations: 10.99 MB / 0.8495 GB, free: 42.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/1.224, allocations: 0.4991 MB / 0.85 GB, free: 42.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009697/1.225, allocations: 51.88 kB / 0.8501 GB, free: 42.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/1.228, allocations: 203.7 kB / 0.8503 GB, free: 42.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005272/1.228, allocations: 157.7 kB / 0.8504 GB, free: 42.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/1.228, allocations: 72 kB / 0.8505 GB, free: 41.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004092/1.232, allocations: 3.114 MB / 0.8535 GB, free: 38.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.232, allocations: 0 / 0.8535 GB, free: 38.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006756/1.239, allocations: 1.432 MB / 0.8549 GB, free: 37.41 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.0006972/1.24, allocations: 184.2 kB / 0.8551 GB, free: 37.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01055/1.25, allocations: 8.042 MB / 0.863 GB, free: 29.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.251, allocations: 0 / 0.863 GB, free: 29.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004984/1.256, allocations: 3.435 MB / 0.8663 GB, free: 25.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/1.259, allocations: 0.622 MB / 0.8669 GB, free: 25.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/1.28, allocations: 13.91 MB / 0.8805 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00376/1.284, allocations: 4.17 MB / 0.8846 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/1.285, allocations: 367.4 kB / 0.8849 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/1.285, allocations: 0 / 0.8849 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of Templates: time 0.4064/1.692, allocations: 128.4 MB / 1.01 GB, free: 166.3 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