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.001297/0.001297, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.972/1.972, allocations: 227.4 MB / 246.9 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3436/0.3436, allocations: 46.1 MB / 344.3 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002854/0.002854, allocations: 70.5 kB / 417.5 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1676, allocations: 62.45 MB / 479.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4265/0.5942, allocations: 81.42 MB / 0.5482 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05566/0.65, allocations: 15.67 MB / 0.5635 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02/0.67, allocations: 359 kB / 0.5638 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.681, allocations: 5.002 MB / 0.5687 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01051/0.6916, allocations: 2.332 MB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004359/0.696, allocations: 1.022 MB / 0.572 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01888/0.7149, allocations: 10.03 MB / 0.5818 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01017/0.7251, allocations: 5.702 MB / 0.5874 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004875/0.7301, allocations: 2.133 MB / 0.5894 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006226/0.7363, allocations: 3.462 MB / 0.5928 GB, free: 3.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002266/0.7387, allocations: 372 kB / 0.5932 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00512/0.7438, allocations: 1.322 MB / 0.5945 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005024/0.7489, allocations: 2.875 MB / 0.5973 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006829/0.7558, allocations: 3.223 MB / 0.6004 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.7672, allocations: 8.182 MB / 0.6084 GB, free: 3.699 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.7673, allocations: 0 / 0.6084 GB, free: 3.699 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.7673, allocations: 0 / 0.6084 GB, free: 3.699 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004171/0.7677, allocations: 0 / 0.6084 GB, free: 3.699 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.02547/0.7932, allocations: 7.405 MB / 0.6157 GB, free: 12.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.681e-05/0.7933, allocations: 12.88 kB / 0.6157 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02519/0.8185, allocations: 2.706 MB / 0.6183 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/0.8313, allocations: 4.191 MB / 0.6224 GB, free: 5.203 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000461/0.8318, allocations: 361.7 kB / 0.6227 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002236/0.834, allocations: 487.5 kB / 0.6232 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03438/0.8684, allocations: 14.67 MB / 0.6375 GB, free: 4.699 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000447/0.869, allocations: 71.38 kB / 0.6376 GB, free: 4.629 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003276/0.8723, allocations: 219.8 kB / 0.6378 GB, free: 4.414 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00935/0.8816, allocations: 2.746 MB / 0.6405 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04727/0.929, allocations: 12.5 MB / 0.6527 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1059/1.035, allocations: 58.26 MB / 0.7096 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0353/1.07, allocations: 7.279 MB / 0.7167 GB, free: 1.996 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3478/1.418, allocations: 3.885 MB / 0.7205 GB, free: 196.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02426/1.443, allocations: 8.976 MB / 0.7293 GB, free: 193.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.539e-05/1.443, allocations: 68.67 kB / 0.7293 GB, free: 193.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=246): time 7.454e-06/1.443, allocations: 0 / 0.7293 GB, free: 193.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=288): time 0.1205/1.563, allocations: 32.73 MB / 0.7613 GB, free: 178.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.563, allocations: 239.6 kB / 0.7615 GB, free: 178.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01375/1.577, allocations: 6.645 MB / 0.768 GB, free: 171.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008938/1.578, allocations: 77.3 kB / 0.7681 GB, free: 171.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003649/1.582, allocations: 4.373 MB / 0.7724 GB, free: 167.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001848/1.584, allocations: 1.104 MB / 0.7734 GB, free: 166.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004065/1.588, allocations: 1.78 MB / 0.7752 GB, free: 164.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.586e-05/1.588, allocations: 301.1 kB / 0.7755 GB, free: 164 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006742/1.595, allocations: 3.613 MB / 0.779 GB, free: 160.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01056/1.605, allocations: 8.613 MB / 0.7874 GB, free: 149.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01825/1.623, allocations: 13.15 MB / 0.8002 GB, free: 133.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002151/1.624, allocations: 55.94 kB / 0.8003 GB, free: 133.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.03576/1.66, allocations: 14.04 MB / 0.814 GB, free: 119.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/1.66, allocations: 80 kB / 0.8141 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002725/1.66, allocations: 172 kB / 0.8142 GB, free: 119.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007852/1.668, allocations: 2.267 MB / 0.8165 GB, free: 117.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009895/1.678, allocations: 2.02 MB / 0.8184 GB, free: 115.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/1.698, allocations: 13.28 MB / 0.8314 GB, free: 101.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01108/1.709, allocations: 0.5067 MB / 0.8319 GB, free: 101.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002655/1.712, allocations: 0.5078 MB / 0.8324 GB, free: 100.6 MB / 0.545 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.007963/1.72, allocations: 2.983 MB / 0.8353 GB, free: 97.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/1.722, allocations: 0.5554 MB / 0.8358 GB, free: 97.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01626/1.738, allocations: 7.228 MB / 0.8429 GB, free: 89.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.978e-05/1.738, allocations: 28 kB / 0.8429 GB, free: 89.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.835e-05/1.738, allocations: 12 kB / 0.8429 GB, free: 89.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.267e-05/1.738, allocations: 15.7 kB / 0.843 GB, free: 89.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03919/1.777, allocations: 15.16 MB / 0.8578 GB, free: 74.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.286e-05/1.778, allocations: 8.469 kB / 0.8578 GB, free: 74.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003652/1.781, allocations: 495.2 kB / 0.8582 GB, free: 74.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007413/1.789, allocations: 2.011 MB / 0.8602 GB, free: 72.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009856/1.79, allocations: 55.52 kB / 0.8603 GB, free: 71.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/1.811, allocations: 12.59 MB / 0.8726 GB, free: 59.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.811, allocations: 7.938 kB / 0.8726 GB, free: 59.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02468/1.836, allocations: 11.46 MB / 0.8837 GB, free: 47.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002355/1.838, allocations: 0.6303 MB / 0.8844 GB, free: 46.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002374/1.84, allocations: 57.98 kB / 0.8844 GB, free: 46.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004909/1.845, allocations: 199.7 kB / 0.8846 GB, free: 46.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00129/1.847, allocations: 177.6 kB / 0.8848 GB, free: 46.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004502/1.847, allocations: 79.94 kB / 0.8849 GB, free: 46.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.009947/1.857, allocations: 4.264 MB / 0.889 GB, free: 42.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.92e-07/1.857, allocations: 3.938 kB / 0.889 GB, free: 42.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01321/1.87, allocations: 1.58 MB / 0.8906 GB, free: 40.52 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 (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.001355/1.872, allocations: 195.5 kB / 0.8908 GB, free: 40.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01785/1.89, allocations: 8.733 MB / 0.8993 GB, free: 31.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.89, allocations: 4.625 kB / 0.8993 GB, free: 31.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00805/1.898, allocations: 3.539 MB / 0.9027 GB, free: 28.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008638/1.907, allocations: 0.6927 MB / 0.9034 GB, free: 27.35 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4092/2.316, allocations: 18.38 MB / 0.9214 GB, free: 173.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01742/2.333, allocations: 4.519 MB / 0.9258 GB, free: 172.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004017/2.338, allocations: 445.7 kB / 0.9262 GB, free: 172.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.593e-06/2.338, allocations: 0 / 0.9262 GB, free: 172.3 MB / 0.545 GB Notification: Performance of Templates: time 0.314/2.652, allocations: 142.9 MB / 1.066 GB, free: 54.43 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/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