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.00106/0.00106, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1868/0.1868, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 79.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2702, allocations: 62.44 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01499/0.2852, allocations: 15.52 MB / 0.5468 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.2953, allocations: 4.941 MB / 0.5516 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.2982, allocations: 103.8 kB / 0.5517 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008494/0.3068, allocations: 4.988 MB / 0.5566 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006367/0.3132, allocations: 2.555 MB / 0.5591 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.3157, allocations: 1.1 MB / 0.5602 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008953/0.3247, allocations: 6.888 MB / 0.5669 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005873/0.3306, allocations: 5.77 MB / 0.5725 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/0.3342, allocations: 2.395 MB / 0.5749 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004299/0.3385, allocations: 3.232 MB / 0.578 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.3397, allocations: 0.5039 MB / 0.5785 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.3422, allocations: 1.393 MB / 0.5799 GB, free: 328 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00249/0.3447, allocations: 2.993 MB / 0.5828 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003171/0.3479, allocations: 3.348 MB / 0.5861 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009001/0.3569, allocations: 10.37 MB / 0.5962 GB, free: 15.55 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3569, allocations: 0 / 0.5962 GB, free: 15.55 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3569, allocations: 4 kB / 0.5962 GB, free: 15.55 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000179/0.3571, allocations: 0 / 0.5962 GB, free: 15.55 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.01339/0.3705, allocations: 7.412 MB / 0.6035 GB, free: 8.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3706, allocations: 12.03 kB / 0.6035 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.381, allocations: 2.699 MB / 0.6061 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0083/0.3894, allocations: 4.269 MB / 0.6103 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/0.3896, allocations: 361.5 kB / 0.6106 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/0.3909, allocations: 487.6 kB / 0.6111 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02455/0.4155, allocations: 14.67 MB / 0.6254 GB, free: 480 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001889/0.4157, allocations: 71.41 kB / 0.6255 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007402/0.4165, allocations: 227.8 kB / 0.6257 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00442/0.4209, allocations: 2.742 MB / 0.6284 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0238/0.4447, allocations: 12.5 MB / 0.6406 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07089/0.5156, allocations: 58.01 MB / 0.6972 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01742/0.5331, allocations: 7.275 MB / 0.7043 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005112/0.5383, allocations: 3.891 MB / 0.7081 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0157/0.554, allocations: 8.969 MB / 0.7169 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/0.5541, allocations: 60.5 kB / 0.717 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 6.201e-06/0.5541, allocations: 0 / 0.717 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.3141/0.8682, allocations: 32.72 MB / 0.7489 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.8683, allocations: 243.5 kB / 0.7491 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006648/0.875, allocations: 6.653 MB / 0.7556 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005463/0.8755, allocations: 77.38 kB / 0.7557 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001722/0.8773, allocations: 4.368 MB / 0.76 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009126/0.8782, allocations: 1.103 MB / 0.7611 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001856/0.8801, allocations: 1.784 MB / 0.7628 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.77e-05/0.8801, allocations: 301.1 kB / 0.7631 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003888/0.884, allocations: 3.619 MB / 0.7666 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005287/0.8893, allocations: 8.615 MB / 0.775 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009882/0.8992, allocations: 13.16 MB / 0.7879 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.656e-05/0.8993, allocations: 52 kB / 0.7879 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.01805/0.9174, allocations: 14.03 MB / 0.8016 GB, free: 90.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.218e-05/0.9175, allocations: 80 kB / 0.8017 GB, free: 90.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001412/0.9176, allocations: 172.6 kB / 0.8019 GB, free: 90.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004607/0.9222, allocations: 2.261 MB / 0.8041 GB, free: 88.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005347/0.9276, allocations: 2.02 MB / 0.8061 GB, free: 86.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.9405, allocations: 14.22 MB / 0.8199 GB, free: 71.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006047/0.9466, allocations: 0.5031 MB / 0.8204 GB, free: 71.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00122/0.9478, allocations: 0.5155 MB / 0.8209 GB, free: 70.66 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.00455/0.9524, allocations: 2.978 MB / 0.8238 GB, free: 67.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/0.9535, allocations: 0.5553 MB / 0.8244 GB, free: 67.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.9642, allocations: 7.224 MB / 0.8314 GB, free: 59.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.592e-05/0.9642, allocations: 28.47 kB / 0.8315 GB, free: 59.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.82e-05/0.9643, allocations: 12 kB / 0.8315 GB, free: 59.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-05/0.9643, allocations: 19.88 kB / 0.8315 GB, free: 59.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02043/0.9847, allocations: 14.97 MB / 0.8461 GB, free: 44.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/0.9848, allocations: 4 kB / 0.8461 GB, free: 44.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/0.9868, allocations: 495.2 kB / 0.8466 GB, free: 44.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0044/0.9913, allocations: 2.022 MB / 0.8486 GB, free: 42.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004479/0.9917, allocations: 48 kB / 0.8486 GB, free: 42.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/1.005, allocations: 13.6 MB / 0.8619 GB, free: 28.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/1.005, allocations: 7.938 kB / 0.8619 GB, free: 28.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/1.019, allocations: 11.49 MB / 0.8731 GB, free: 16.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.02, allocations: 0.6304 MB / 0.8737 GB, free: 16.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008717/1.021, allocations: 55.94 kB / 0.8738 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002267/1.023, allocations: 203.7 kB / 0.874 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004739/1.024, allocations: 173.6 kB / 0.8742 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/1.024, allocations: 79.81 kB / 0.8742 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005128/1.029, allocations: 4.264 MB / 0.8784 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.31e-07/1.029, allocations: 0 / 0.8784 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006656/1.036, allocations: 1.586 MB / 0.8799 GB, free: 9.711 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.0005353/1.036, allocations: 192.2 kB / 0.8801 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01037/1.047, allocations: 8.78 MB / 0.8887 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.047, allocations: 0 / 0.8887 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00556/1.052, allocations: 3.473 MB / 0.8921 GB, free: 13.25 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004097/1.057, allocations: 0.7249 MB / 0.8928 GB, free: 12.53 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02442/1.081, allocations: 15.5 MB / 0.9079 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004709/1.086, allocations: 4.516 MB / 0.9123 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/1.088, allocations: 443.3 kB / 0.9128 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/1.088, allocations: 0 / 0.9128 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of Templates: time 0.3595/1.447, allocations: 143.8 MB / 1.053 GB, free: 118.2 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches