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.001207/0.001207, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 76.09 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, allocations: 62.44 MB / 480 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01789/0.1563, allocations: 15.5 MB / 495.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01331/0.1696, allocations: 4.929 MB / 0.4887 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.1727, allocations: 107.8 kB / 0.4888 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009841/0.1825, allocations: 5 MB / 0.4937 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007924/0.1905, allocations: 2.474 MB / 0.4961 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003643/0.1942, allocations: 1.108 MB / 0.4972 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01203/0.2063, allocations: 6.879 MB / 0.5039 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.269/0.4753, allocations: 5.777 MB / 0.5096 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006282/0.4816, allocations: 2.395 MB / 0.5119 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009739/0.4914, allocations: 3.221 MB / 0.515 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00332/0.4948, allocations: 0.5086 MB / 0.5155 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006742/0.5015, allocations: 1.393 MB / 0.5169 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007922/0.5095, allocations: 2.969 MB / 0.5198 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00973/0.5193, allocations: 3.346 MB / 0.5231 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0147/0.534, allocations: 10.06 MB / 0.5329 GB, free: 6.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.534, allocations: 0 / 0.5329 GB, free: 6.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5341, allocations: 0 / 0.5329 GB, free: 6.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005188/0.5346, allocations: 0 / 0.5329 GB, free: 6.73 MB / 382.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.02169/0.5563, allocations: 7.418 MB / 0.5401 GB, free: 1.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.5563, allocations: 9 kB / 0.5401 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.5688, allocations: 2.709 MB / 0.5428 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/0.5802, allocations: 4.182 MB / 0.5469 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004403/0.5807, allocations: 359.5 kB / 0.5472 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002045/0.5827, allocations: 486 kB / 0.5477 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03212/0.6149, allocations: 14.68 MB / 0.562 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002733/0.6152, allocations: 68.22 kB / 0.5621 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001575/0.6168, allocations: 228.4 kB / 0.5623 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005519/0.6223, allocations: 2.743 MB / 0.565 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03053/0.6528, allocations: 12.5 MB / 0.5772 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09167/0.7446, allocations: 58.26 MB / 0.6341 GB, free: 3.785 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02067/0.7653, allocations: 7.28 MB / 0.6412 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007007/0.7723, allocations: 3.895 MB / 0.645 GB, free: 8.465 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01793/0.7903, allocations: 8.987 MB / 0.6538 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/0.7905, allocations: 56.56 kB / 0.6538 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=246): time 8.666e-06/0.7905, allocations: 4 kB / 0.6538 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=288): time 0.09624/0.8867, allocations: 32.72 MB / 0.6858 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.8869, allocations: 234.3 kB / 0.686 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0153/0.9022, allocations: 6.649 MB / 0.6925 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009036/0.9032, allocations: 65.7 kB / 0.6926 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004651/0.9078, allocations: 4.382 MB / 0.6968 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002041/0.9099, allocations: 1.094 MB / 0.6979 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006477/0.9164, allocations: 1.784 MB / 0.6996 GB, free: 188 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.9166, allocations: 313.1 kB / 0.6999 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007014/0.9236, allocations: 3.613 MB / 0.7035 GB, free: 12.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01224/0.9359, allocations: 8.617 MB / 0.7119 GB, free: 1.258 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2526/1.189, allocations: 13.15 MB / 0.7247 GB, free: 174.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/1.189, allocations: 53.22 kB / 0.7248 GB, free: 174.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.0271/1.216, allocations: 14.03 MB / 0.7385 GB, free: 169.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.937e-05/1.216, allocations: 84 kB / 0.7386 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002257/1.216, allocations: 174.4 kB / 0.7387 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005588/1.222, allocations: 2.272 MB / 0.7409 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006163/1.228, allocations: 2.014 MB / 0.7429 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/1.242, allocations: 14.25 MB / 0.7568 GB, free: 161.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00646/1.249, allocations: 0.4996 MB / 0.7573 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/1.25, allocations: 0.5106 MB / 0.7578 GB, free: 161.3 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.004399/1.254, allocations: 2.989 MB / 0.7607 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009478/1.255, allocations: 0.546 MB / 0.7613 GB, free: 159.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/1.266, allocations: 7.223 MB / 0.7683 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.106e-05/1.266, allocations: 35.94 kB / 0.7684 GB, free: 153.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/1.266, allocations: 12 kB / 0.7684 GB, free: 153.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.919e-05/1.266, allocations: 15.58 kB / 0.7684 GB, free: 153.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02289/1.289, allocations: 15.15 MB / 0.7832 GB, free: 139.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/1.289, allocations: 4 kB / 0.7832 GB, free: 139.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/1.291, allocations: 495.2 kB / 0.7837 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004755/1.296, allocations: 2.024 MB / 0.7856 GB, free: 137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003337/1.296, allocations: 56 kB / 0.7857 GB, free: 136.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/1.31, allocations: 13.52 MB / 0.7989 GB, free: 123.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/1.31, allocations: 11.56 kB / 0.7989 GB, free: 123.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/1.326, allocations: 11.47 MB / 0.8101 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/1.328, allocations: 0.6303 MB / 0.8107 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001425/1.329, allocations: 52.92 kB / 0.8108 GB, free: 111 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003217/1.333, allocations: 203.7 kB / 0.811 GB, free: 110.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005958/1.333, allocations: 177.6 kB / 0.8111 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/1.334, allocations: 77.64 kB / 0.8112 GB, free: 110.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006626/1.34, allocations: 4.26 MB / 0.8154 GB, free: 106.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/1.34, allocations: 0 / 0.8154 GB, free: 106.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008371/1.349, allocations: 1.59 MB / 0.8169 GB, free: 104.7 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.0009134/1.35, allocations: 196.7 kB / 0.8171 GB, free: 104.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01398/1.364, allocations: 10.49 MB / 0.8273 GB, free: 94.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.364, allocations: 4.062 kB / 0.8273 GB, free: 94.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005127/1.369, allocations: 3.535 MB / 0.8308 GB, free: 90.53 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004898/1.374, allocations: 0.7315 MB / 0.8315 GB, free: 89.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/1.395, allocations: 15.08 MB / 0.8462 GB, free: 74.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006175/1.401, allocations: 4.531 MB / 0.8507 GB, free: 70.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007269/1.409, allocations: 2.79 MB / 0.8534 GB, free: 67.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/1.41, allocations: 383.4 kB / 0.8537 GB, free: 66.92 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/1.41, allocations: 0 / 0.8537 GB, free: 66.92 MB / 0.545 GB Notification: Performance of Templates: time 0.3157/1.726, allocations: 67.62 MB / 0.9198 GB, free: 171.5 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