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.0009378/0.0009382, allocations: 101.9 kB / 17.01 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001033/0.001033, allocations: 197.7 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.7 MB / 246.4 MB, free: 9.789 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.19 MB / 344.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003759, allocations: 4 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.134, allocations: 63.55 MB / 482.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3351/0.4691, allocations: 73.87 MB / 0.5432 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04648/0.5157, allocations: 14.94 MB / 0.5578 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01793/0.5337, allocations: 357.7 kB / 0.5582 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0137/0.5474, allocations: 3.899 MB / 0.562 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03749/0.5849, allocations: 11.23 MB / 0.5729 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005996/0.5909, allocations: 0.8855 MB / 0.5738 GB, free: 9.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.08552/0.6765, allocations: 63.01 MB / 0.6353 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01094/0.6875, allocations: 7.272 MB / 0.6424 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004038/0.6915, allocations: 1.895 MB / 0.6443 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005259/0.6968, allocations: 2.932 MB / 0.6471 GB, free: 14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00125/0.6981, allocations: 204 kB / 0.6473 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003518/0.7016, allocations: 0.9948 MB / 0.6483 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00335/0.705, allocations: 2.591 MB / 0.6508 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002244/0.7073, allocations: 1.216 MB / 0.652 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.7181, allocations: 7.989 MB / 0.6598 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7181, allocations: 0 / 0.6598 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.7182, allocations: 0 / 0.6598 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003522/0.7185, allocations: 0 / 0.6598 GB, free: 0.9727 MB / 494.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.01462/0.7331, allocations: 6.169 MB / 0.6659 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.7332, allocations: 8.031 kB / 0.6659 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.7449, allocations: 2.784 MB / 0.6686 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008893/0.7538, allocations: 4.109 MB / 0.6726 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.7541, allocations: 361.1 kB / 0.6729 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/0.7556, allocations: 475.7 kB / 0.6734 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03086/0.7865, allocations: 14.66 MB / 0.6877 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001756/0.7867, allocations: 79.3 kB / 0.6878 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006143/0.7873, allocations: 223.8 kB / 0.688 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004743/0.7921, allocations: 2.742 MB / 0.6907 GB, free: 208 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02547/0.8176, allocations: 12.46 MB / 0.7028 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3293/1.147, allocations: 58.26 MB / 0.7597 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/1.163, allocations: 7.298 MB / 0.7669 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004052/1.167, allocations: 3.884 MB / 0.7707 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01302/1.18, allocations: 8.988 MB / 0.7794 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/1.18, allocations: 64.5 kB / 0.7795 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 6.122e-06/1.18, allocations: 3.938 kB / 0.7795 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.07434/1.254, allocations: 32.69 MB / 0.8114 GB, free: 94.22 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.18e-05/1.254, allocations: 239.6 kB / 0.8117 GB, free: 93.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008993/1.263, allocations: 6.609 MB / 0.8181 GB, free: 87.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001441/1.265, allocations: 67.11 kB / 0.8182 GB, free: 87.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004078/1.269, allocations: 4.382 MB / 0.8225 GB, free: 82.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002342/1.271, allocations: 1.094 MB / 0.8235 GB, free: 81.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008007/1.272, allocations: 172 kB / 0.8237 GB, free: 81.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003859/1.273, allocations: 0.6778 MB / 0.8243 GB, free: 80.94 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004978/1.278, allocations: 3.585 MB / 0.8278 GB, free: 77.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007201/1.285, allocations: 8.583 MB / 0.8362 GB, free: 66.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006793/1.292, allocations: 5.406 MB / 0.8415 GB, free: 60.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.792e-05/1.292, allocations: 52 kB / 0.8416 GB, free: 60.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02286/1.315, allocations: 13.97 MB / 0.8552 GB, free: 46.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.315, allocations: 80 kB / 0.8553 GB, free: 46.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001688/1.315, allocations: 172 kB / 0.8554 GB, free: 46.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004737/1.32, allocations: 2.296 MB / 0.8577 GB, free: 44.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006636/1.326, allocations: 2.016 MB / 0.8597 GB, free: 42.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/1.341, allocations: 13.22 MB / 0.8726 GB, free: 28.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00893/1.35, allocations: 0.5031 MB / 0.8731 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001773/1.352, allocations: 0.513 MB / 0.8736 GB, free: 27.78 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 21,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006542/1.358, allocations: 2.997 MB / 0.8765 GB, free: 24.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/1.36, allocations: 0.5515 MB / 0.877 GB, free: 24.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/1.372, allocations: 7.205 MB / 0.8841 GB, free: 16.99 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.102e-05/1.372, allocations: 32 kB / 0.8841 GB, free: 16.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/1.372, allocations: 8 kB / 0.8841 GB, free: 16.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.81e-05/1.372, allocations: 19.91 kB / 0.8841 GB, free: 16.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02431/1.396, allocations: 15.15 MB / 0.8989 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/1.396, allocations: 7.938 kB / 0.8989 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/1.398, allocations: 495.2 kB / 0.8994 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004877/1.403, allocations: 2.014 MB / 0.9014 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005414/1.404, allocations: 51.98 kB / 0.9014 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/1.423, allocations: 12.56 MB / 0.9137 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/1.423, allocations: 8.047 kB / 0.9137 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2753/1.698, allocations: 11.44 MB / 0.9249 GB, free: 181 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002276/1.701, allocations: 0.6394 MB / 0.9255 GB, free: 180.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/1.702, allocations: 52.48 kB / 0.9255 GB, free: 180.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00231/1.704, allocations: 206.3 kB / 0.9257 GB, free: 180.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005811/1.705, allocations: 182.4 kB / 0.9259 GB, free: 180.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/1.705, allocations: 76.38 kB / 0.926 GB, free: 180.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008818/1.714, allocations: 4.224 MB / 0.9301 GB, free: 179.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/1.714, allocations: 0 / 0.9301 GB, free: 179.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008956/1.723, allocations: 1.589 MB / 0.9316 GB, free: 179.2 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006757/1.723, allocations: 191.5 kB / 0.9318 GB, free: 179.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01484/1.738, allocations: 8.76 MB / 0.9404 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.955e-05/1.738, allocations: 0 / 0.9404 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00627/1.745, allocations: 3.524 MB / 0.9438 GB, free: 174.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005571/1.75, allocations: 0.698 MB / 0.9445 GB, free: 174.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02391/1.774, allocations: 17.25 MB / 0.9613 GB, free: 162.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004631/1.779, allocations: 4.541 MB / 0.9658 GB, free: 158.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006402/1.785, allocations: 2.79 MB / 0.9685 GB, free: 156.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/1.787, allocations: 387.3 kB / 0.9689 GB, free: 156.2 MB / 0.545 GB Notification: Performance of SimCode: time 8.71e-07/1.787, allocations: 0 / 0.9689 GB, free: 156.2 MB / 0.545 GB Notification: Performance of Templates: time 0.09477/1.881, allocations: 62.43 MB / 1.03 GB, free: 94 MB / 0.545 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