Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.Force,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.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001176/0.001176, allocations: 122.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.00111/0.00111, allocations: 202 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.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2362/0.2362, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 75.89 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3966, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01693/0.4136, allocations: 15.51 MB / 0.5462 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.4247, allocations: 4.947 MB / 0.551 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003638/0.4284, allocations: 103.8 kB / 0.5511 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009425/0.4378, allocations: 4.992 MB / 0.556 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007761/0.4456, allocations: 2.47 MB / 0.5584 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.4489, allocations: 1.104 MB / 0.5594 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.4603, allocations: 6.886 MB / 0.5662 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009749/0.4701, allocations: 5.774 MB / 0.5718 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005598/0.4757, allocations: 2.395 MB / 0.5741 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006434/0.4822, allocations: 3.217 MB / 0.5773 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002345/0.4846, allocations: 0.5039 MB / 0.5778 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003965/0.4886, allocations: 1.397 MB / 0.5791 GB, free: 248 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004187/0.4928, allocations: 2.981 MB / 0.5821 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005938/0.4988, allocations: 3.34 MB / 0.5853 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0155/0.5143, allocations: 10.41 MB / 0.5955 GB, free: 15.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.5143, allocations: 0 / 0.5955 GB, free: 15.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5143, allocations: 0 / 0.5955 GB, free: 15.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004779/0.5148, allocations: 0 / 0.5955 GB, free: 15.45 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.02336/0.5382, allocations: 7.605 MB / 0.6029 GB, free: 7.742 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.5383, allocations: 8.031 kB / 0.6029 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/0.5517, allocations: 2.746 MB / 0.6056 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.5617, allocations: 4.286 MB / 0.6098 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003256/0.5621, allocations: 365.5 kB / 0.6101 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001948/0.5641, allocations: 479.7 kB / 0.6106 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03301/0.5971, allocations: 14.68 MB / 0.6249 GB, free: 104 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004207/0.5976, allocations: 67.45 kB / 0.625 GB, free: 36 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002295/0.5999, allocations: 227.8 kB / 0.6252 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005339/0.6052, allocations: 2.738 MB / 0.6279 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02774/0.633, allocations: 12.5 MB / 0.6401 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08699/0.72, allocations: 58.12 MB / 0.6968 GB, free: 4.984 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/0.7388, allocations: 7.289 MB / 0.704 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005274/0.7441, allocations: 3.889 MB / 0.7078 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01947/0.7636, allocations: 8.999 MB / 0.7166 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.193e-05/0.7637, allocations: 60.56 kB / 0.7166 GB, free: 416 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 6.662e-06/0.7637, allocations: 0 / 0.7166 GB, free: 416 kB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.392/1.156, allocations: 33.13 MB / 0.749 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/1.156, allocations: 242.9 kB / 0.7492 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006955/1.163, allocations: 6.66 MB / 0.7557 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007136/1.164, allocations: 73.53 kB / 0.7558 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002382/1.166, allocations: 4.545 MB / 0.7602 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.167, allocations: 1.149 MB / 0.7613 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/1.169, allocations: 1.793 MB / 0.7631 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.281e-05/1.169, allocations: 305.1 kB / 0.7634 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004072/1.173, allocations: 3.617 MB / 0.7669 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00618/1.18, allocations: 8.614 MB / 0.7753 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/1.191, allocations: 13.16 MB / 0.7882 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000139/1.191, allocations: 52 kB / 0.7882 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.01977/1.211, allocations: 14.07 MB / 0.802 GB, free: 90.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.873e-05/1.211, allocations: 80 kB / 0.802 GB, free: 89.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/1.211, allocations: 175.8 kB / 0.8022 GB, free: 89.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004817/1.216, allocations: 2.261 MB / 0.8044 GB, free: 87.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005669/1.222, allocations: 2.023 MB / 0.8064 GB, free: 85.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/1.236, allocations: 14.22 MB / 0.8203 GB, free: 71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008771/1.245, allocations: 0.5073 MB / 0.8208 GB, free: 70.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00176/1.247, allocations: 0.5115 MB / 0.8213 GB, free: 69.98 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1058): * Single equations (assignments): 1051 * Array equations: 5 * 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,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006782/1.253, allocations: 2.988 MB / 0.8242 GB, free: 66.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/1.255, allocations: 0.5859 MB / 0.8247 GB, free: 66.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/1.267, allocations: 7.224 MB / 0.8318 GB, free: 59.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.089e-05/1.267, allocations: 28 kB / 0.8318 GB, free: 59.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-05/1.267, allocations: 15.94 kB / 0.8318 GB, free: 59.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.534e-05/1.267, allocations: 15.47 kB / 0.8319 GB, free: 59.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02485/1.292, allocations: 14.97 MB / 0.8465 GB, free: 44.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.19e-05/1.292, allocations: 4 kB / 0.8465 GB, free: 44.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/1.294, allocations: 491.2 kB / 0.847 GB, free: 43.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004851/1.299, allocations: 2.022 MB / 0.8489 GB, free: 41.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006321/1.3, allocations: 55.98 kB / 0.849 GB, free: 41.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/1.314, allocations: 13.59 MB / 0.8623 GB, free: 27.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.314, allocations: 11.94 kB / 0.8623 GB, free: 27.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/1.331, allocations: 11.51 MB / 0.8735 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/1.333, allocations: 0.6649 MB / 0.8742 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002194/1.335, allocations: 55.94 kB / 0.8742 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00361/1.339, allocations: 203.7 kB / 0.8744 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006858/1.339, allocations: 181.6 kB / 0.8746 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002201/1.34, allocations: 75.28 kB / 0.8747 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00692/1.347, allocations: 4.264 MB / 0.8788 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/1.347, allocations: 0 / 0.8788 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00916/1.356, allocations: 1.586 MB / 0.8804 GB, free: 8.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (232): * Single equations (assignments): 227 * 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,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007926/1.357, allocations: 197.3 kB / 0.8806 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.368, allocations: 8.775 MB / 0.8891 GB, free: 15.95 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.368, allocations: 0 / 0.8891 GB, free: 15.95 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006214/1.375, allocations: 3.489 MB / 0.8925 GB, free: 12.45 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005454/1.38, allocations: 0.7222 MB / 0.8932 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/1.408, allocations: 15.12 MB / 0.908 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006645/1.415, allocations: 4.535 MB / 0.9124 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007165/1.422, allocations: 2.786 MB / 0.9152 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/1.423, allocations: 379.4 kB / 0.9155 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of SimCode: time 6.12e-07/1.423, allocations: 0 / 0.9155 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of Templates: time 0.3909/1.814, allocations: 62.61 MB / 0.9767 GB, free: 197.5 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches