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.001386/0.001386, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00174/0.00174, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 75.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.419, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01813/0.4372, allocations: 15.52 MB / 0.5462 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.4496, allocations: 4.936 MB / 0.551 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003138/0.4528, allocations: 111.7 kB / 0.5511 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009525/0.4623, allocations: 4.996 MB / 0.556 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008065/0.4705, allocations: 2.473 MB / 0.5584 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.4735, allocations: 1.1 MB / 0.5594 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01035/0.4839, allocations: 6.89 MB / 0.5662 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00963/0.4935, allocations: 5.768 MB / 0.5718 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005712/0.4993, allocations: 2.403 MB / 0.5742 GB, free: 5.355 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005696/0.505, allocations: 3.224 MB / 0.5773 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001992/0.507, allocations: 0.5078 MB / 0.5778 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003768/0.5108, allocations: 1.385 MB / 0.5792 GB, free: 232 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003918/0.5148, allocations: 2.996 MB / 0.5821 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005872/0.5207, allocations: 3.348 MB / 0.5853 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.5356, allocations: 10.36 MB / 0.5955 GB, free: 15.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.5356, allocations: 4 kB / 0.5955 GB, free: 15.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5356, allocations: 0 / 0.5955 GB, free: 15.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004182/0.5361, 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.02095/0.557, allocations: 7.412 MB / 0.6027 GB, free: 7.953 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.5571, allocations: 12.03 kB / 0.6027 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/0.5713, allocations: 2.699 MB / 0.6054 GB, free: 5.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/0.5821, allocations: 4.28 MB / 0.6095 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003688/0.5825, allocations: 353.5 kB / 0.6099 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001741/0.5842, allocations: 483.6 kB / 0.6103 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02975/0.614, allocations: 14.68 MB / 0.6247 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002696/0.6143, allocations: 59.47 kB / 0.6247 GB, free: 312 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001455/0.6158, allocations: 231.8 kB / 0.625 GB, free: 80 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005173/0.621, allocations: 2.742 MB / 0.6276 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02581/0.6468, allocations: 12.49 MB / 0.6398 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07065/0.7175, allocations: 58.02 MB / 0.6965 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/0.7358, allocations: 7.279 MB / 0.7036 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005064/0.7409, allocations: 3.887 MB / 0.7074 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01421/0.7552, allocations: 8.969 MB / 0.7162 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.968e-05/0.7553, allocations: 68.44 kB / 0.7162 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 4.648e-06/0.7553, allocations: 4 kB / 0.7162 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.3423/1.098, allocations: 32.72 MB / 0.7482 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/1.098, allocations: 239.6 kB / 0.7484 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007541/1.105, allocations: 6.653 MB / 0.7549 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007663/1.106, allocations: 77.53 kB / 0.755 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003099/1.109, allocations: 4.369 MB / 0.7592 GB, free: 138 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002442/1.112, allocations: 1.1 MB / 0.7603 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002603/1.114, allocations: 1.784 MB / 0.7621 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.185e-05/1.114, allocations: 301.1 kB / 0.7623 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004469/1.119, allocations: 3.615 MB / 0.7659 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005882/1.125, allocations: 8.624 MB / 0.7743 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.136, allocations: 13.16 MB / 0.7871 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/1.136, allocations: 52 kB / 0.7872 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.0224/1.158, allocations: 14.03 MB / 0.8009 GB, free: 90.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.159, allocations: 80.97 kB / 0.801 GB, free: 90.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/1.159, allocations: 172 kB / 0.8011 GB, free: 90.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005203/1.164, allocations: 2.264 MB / 0.8034 GB, free: 87.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006108/1.17, allocations: 2.02 MB / 0.8053 GB, free: 85.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/1.184, allocations: 14.22 MB / 0.8192 GB, free: 71.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006655/1.191, allocations: 0.5025 MB / 0.8197 GB, free: 70.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/1.192, allocations: 0.5117 MB / 0.8202 GB, free: 70.43 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.00389/1.196, allocations: 2.978 MB / 0.8231 GB, free: 67.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009081/1.197, allocations: 0.5553 MB / 0.8236 GB, free: 66.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/1.208, allocations: 7.224 MB / 0.8307 GB, free: 59.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.783e-05/1.208, allocations: 32.47 kB / 0.8307 GB, free: 59.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/1.208, allocations: 8 kB / 0.8307 GB, free: 59.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.846e-05/1.208, allocations: 19.89 kB / 0.8308 GB, free: 59.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/1.231, allocations: 14.97 MB / 0.8454 GB, free: 44.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/1.231, allocations: 4 kB / 0.8454 GB, free: 44.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002333/1.233, allocations: 499.2 kB / 0.8459 GB, free: 44.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004781/1.238, allocations: 2.019 MB / 0.8478 GB, free: 42.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003592/1.238, allocations: 48 kB / 0.8479 GB, free: 41.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/1.252, allocations: 13.59 MB / 0.8611 GB, free: 28.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.252, allocations: 11.94 kB / 0.8612 GB, free: 28.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/1.267, allocations: 11.5 MB / 0.8724 GB, free: 16.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/1.269, allocations: 0.6265 MB / 0.873 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/1.27, allocations: 55.92 kB / 0.873 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00355/1.274, allocations: 203.7 kB / 0.8732 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/1.275, allocations: 173.6 kB / 0.8734 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000292/1.275, allocations: 76 kB / 0.8735 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007356/1.282, allocations: 4.26 MB / 0.8776 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.282, allocations: 0 / 0.8776 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00862/1.291, allocations: 1.592 MB / 0.8792 GB, free: 9.473 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.0007866/1.292, allocations: 196.2 kB / 0.8794 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.305, allocations: 8.778 MB / 0.888 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.305, allocations: 0.5625 kB / 0.888 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005965/1.311, allocations: 3.48 MB / 0.8914 GB, free: 13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004891/1.316, allocations: 0.7169 MB / 0.8921 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02514/1.341, allocations: 14.9 MB / 0.9066 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006331/1.347, allocations: 4.539 MB / 0.911 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006569/1.354, allocations: 2.79 MB / 0.9138 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.355, allocations: 383.4 kB / 0.9141 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/1.355, allocations: 0 / 0.9141 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of Templates: time 0.3799/1.735, allocations: 62.83 MB / 0.9755 GB, free: 197.8 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