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.001233/0.001233, allocations: 93.67 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001906/0.001906, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 227.7 MB / 246.8 MB, free: 9.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2039/0.2039, allocations: 46.2 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003194, allocations: 8 kB / 419.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.11, allocations: 63.55 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2844/0.3945, allocations: 79.48 MB / 0.5494 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04043/0.435, allocations: 15.59 MB / 0.5646 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01924/0.4543, allocations: 356.6 kB / 0.5649 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002481/0.4568, allocations: 0.5942 MB / 0.5655 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00751/0.4643, allocations: 2.337 MB / 0.5678 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.4668, allocations: 0.9117 MB / 0.5687 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01421/0.4811, allocations: 10.03 MB / 0.5785 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01402/0.4951, allocations: 8.067 MB / 0.5864 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00457/0.4997, allocations: 1.739 MB / 0.5881 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004649/0.5044, allocations: 2.97 MB / 0.591 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001107/0.5056, allocations: 208 kB / 0.5912 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.5087, allocations: 1.155 MB / 0.5923 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003281/0.512, allocations: 2.641 MB / 0.5949 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004661/0.5167, allocations: 2.943 MB / 0.5977 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.5279, allocations: 9.654 MB / 0.6072 GB, free: 7.363 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.5279, allocations: 0 / 0.6072 GB, free: 7.363 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5279, allocations: 0 / 0.6072 GB, free: 7.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004291/0.5284, allocations: 0 / 0.6072 GB, free: 7.363 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01617/0.5445, allocations: 6.095 MB / 0.6131 GB, free: 1.188 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/0.5446, allocations: 8.875 kB / 0.6131 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/0.5587, allocations: 2.777 MB / 0.6158 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009351/0.5681, allocations: 4.195 MB / 0.6199 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004119/0.5685, allocations: 357.7 kB / 0.6203 GB, free: 9.758 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/0.5703, allocations: 475.6 kB / 0.6207 GB, free: 9.293 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03063/0.6009, allocations: 14.7 MB / 0.6351 GB, free: 9.594 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000332/0.6013, allocations: 59.47 kB / 0.6351 GB, free: 9.535 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001603/0.6029, allocations: 235.8 kB / 0.6354 GB, free: 9.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005406/0.6083, allocations: 2.742 MB / 0.638 GB, free: 6.559 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02799/0.6364, allocations: 12.51 MB / 0.6503 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3122/0.9486, allocations: 58.3 MB / 0.7072 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01971/0.9684, allocations: 7.305 MB / 0.7143 GB, free: 168 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005134/0.9735, allocations: 3.885 MB / 0.7181 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/0.9881, allocations: 8.976 MB / 0.7269 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.9882, allocations: 70.11 kB / 0.727 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 6.322e-06/0.9883, allocations: 3.781 kB / 0.727 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.08472/1.073, allocations: 32.73 MB / 0.7589 GB, free: 146 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/1.073, allocations: 239.1 kB / 0.7592 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/1.084, allocations: 6.652 MB / 0.7657 GB, free: 139.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008508/1.085, allocations: 65.7 kB / 0.7657 GB, free: 139 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002365/1.087, allocations: 4.382 MB / 0.77 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001288/1.088, allocations: 1.095 MB / 0.7711 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/1.089, allocations: 0.7517 MB / 0.7718 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.641e-05/1.089, allocations: 319.2 kB / 0.7721 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00433/1.094, allocations: 3.613 MB / 0.7756 GB, free: 128.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007473/1.101, allocations: 8.613 MB / 0.784 GB, free: 118 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/1.115, allocations: 13.16 MB / 0.7969 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001806/1.115, allocations: 52 kB / 0.7969 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02703/1.142, allocations: 14.03 MB / 0.8106 GB, free: 88.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002158/1.142, allocations: 80.19 kB / 0.8107 GB, free: 88.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003004/1.142, allocations: 180.3 kB / 0.8109 GB, free: 88.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00545/1.148, allocations: 2.257 MB / 0.8131 GB, free: 85.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006521/1.154, allocations: 2.024 MB / 0.8151 GB, free: 83.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/1.17, allocations: 13.28 MB / 0.828 GB, free: 70.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007681/1.177, allocations: 0.5091 MB / 0.8285 GB, free: 69.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001615/1.179, allocations: 0.5127 MB / 0.829 GB, free: 69.36 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 (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.006556/1.186, allocations: 2.982 MB / 0.8319 GB, free: 66.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00157/1.187, allocations: 0.5553 MB / 0.8325 GB, free: 65.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/1.2, allocations: 7.224 MB / 0.8395 GB, free: 58.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.699e-05/1.2, allocations: 34.73 kB / 0.8396 GB, free: 58.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.55e-05/1.2, allocations: 10.44 kB / 0.8396 GB, free: 58.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.147e-05/1.2, allocations: 15.95 kB / 0.8396 GB, free: 58.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02981/1.23, allocations: 15.15 MB / 0.8544 GB, free: 43.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/1.23, allocations: 8.969 kB / 0.8544 GB, free: 43.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/1.233, allocations: 499.2 kB / 0.8549 GB, free: 42.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005031/1.238, allocations: 2.011 MB / 0.8568 GB, free: 40.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007355/1.239, allocations: 56 kB / 0.8569 GB, free: 40.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/1.253, allocations: 12.59 MB / 0.8692 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/1.253, allocations: 7.938 kB / 0.8692 GB, free: 27.87 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/1.271, allocations: 11.47 MB / 0.8804 GB, free: 16.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/1.272, allocations: 0.642 MB / 0.881 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00153/1.274, allocations: 53.81 kB / 0.8811 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003487/1.277, allocations: 203.7 kB / 0.8813 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006958/1.278, allocations: 184.6 kB / 0.8815 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003263/1.278, allocations: 76 kB / 0.8815 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007817/1.286, allocations: 4.26 MB / 0.8857 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.91e-07/1.286, allocations: 0 / 0.8857 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008939/1.295, allocations: 1.588 MB / 0.8872 GB, free: 9.234 MB / 0.5294 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.0009794/1.296, allocations: 194.1 kB / 0.8874 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01294/1.309, allocations: 8.736 MB / 0.896 GB, free: 312 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/1.309, allocations: 4 kB / 0.896 GB, free: 308 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007311/1.317, allocations: 3.536 MB / 0.8994 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01021/1.327, allocations: 0.6924 MB / 0.9001 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.286/1.613, allocations: 17.95 MB / 0.9176 GB, free: 172.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009201/1.622, allocations: 4.541 MB / 0.9221 GB, free: 171.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008331/1.63, allocations: 2.786 MB / 0.9248 GB, free: 171.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001794/1.632, allocations: 383.9 kB / 0.9251 GB, free: 171.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.463e-06/1.632, allocations: 0 / 0.9251 GB, free: 171.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1052/1.737, allocations: 63.83 MB / 0.9875 GB, free: 124.7 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