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.001189/0.001189, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 46.09 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 72.41 kB / 416.8 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1322, allocations: 62.45 MB / 479.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3292/0.4615, allocations: 81.43 MB / 0.5476 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05163/0.5132, allocations: 15.66 MB / 0.5629 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02419/0.5374, allocations: 355.5 kB / 0.5632 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.5487, allocations: 5.001 MB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008826/0.5576, allocations: 2.339 MB / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.5611, allocations: 1.022 MB / 0.5714 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01506/0.5762, allocations: 10.03 MB / 0.5812 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009574/0.5858, allocations: 5.703 MB / 0.5867 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005162/0.591, allocations: 2.133 MB / 0.5888 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006236/0.5973, allocations: 3.466 MB / 0.5922 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00218/0.5995, allocations: 372 kB / 0.5926 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004258/0.6038, allocations: 1.319 MB / 0.5939 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004605/0.6084, allocations: 2.879 MB / 0.5967 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008191/0.6166, allocations: 3.223 MB / 0.5998 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01533/0.632, allocations: 9.941 MB / 0.6095 GB, free: 1.883 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.632, allocations: 0 / 0.6095 GB, free: 1.883 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.632, allocations: 4 kB / 0.6095 GB, free: 1.879 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004706/0.6325, allocations: 0 / 0.6095 GB, free: 1.879 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.02402/0.6565, allocations: 7.408 MB / 0.6168 GB, free: 10.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.6566, allocations: 12.88 kB / 0.6168 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.67, allocations: 2.71 MB / 0.6194 GB, free: 7.648 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/0.6808, allocations: 4.195 MB / 0.6235 GB, free: 3.371 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003889/0.6812, allocations: 353.7 kB / 0.6238 GB, free: 3.023 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002266/0.6835, allocations: 487.5 kB / 0.6243 GB, free: 2.547 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0338/0.7173, allocations: 14.68 MB / 0.6387 GB, free: 2.863 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002719/0.7177, allocations: 67.38 kB / 0.6387 GB, free: 2.797 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001431/0.7191, allocations: 223.8 kB / 0.6389 GB, free: 2.578 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004812/0.7239, allocations: 2.738 MB / 0.6416 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0253/0.7492, allocations: 12.5 MB / 0.6538 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08293/0.8322, allocations: 58.25 MB / 0.7107 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0197/0.8519, allocations: 7.276 MB / 0.7178 GB, free: 188 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1971/1.049, allocations: 3.885 MB / 0.7216 GB, free: 196.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01293/1.062, allocations: 8.977 MB / 0.7304 GB, free: 192.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/1.062, allocations: 69.81 kB / 0.7304 GB, free: 192.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=246): time 5.55e-06/1.062, allocations: 3.094 kB / 0.7304 GB, free: 192.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=288): time 0.07398/1.136, allocations: 32.72 MB / 0.7624 GB, free: 176.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/1.136, allocations: 235.6 kB / 0.7626 GB, free: 176.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006931/1.143, allocations: 6.651 MB / 0.7691 GB, free: 169.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005084/1.144, allocations: 69.53 kB / 0.7692 GB, free: 169.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001777/1.146, allocations: 4.38 MB / 0.7735 GB, free: 165.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009873/1.147, allocations: 1.096 MB / 0.7745 GB, free: 164.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001881/1.148, allocations: 1.78 MB / 0.7763 GB, free: 162.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.798e-05/1.148, allocations: 306.5 kB / 0.7766 GB, free: 162.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004175/1.153, allocations: 3.617 MB / 0.7801 GB, free: 158.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006005/1.159, allocations: 8.623 MB / 0.7885 GB, free: 147.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01226/1.171, allocations: 13.15 MB / 0.8014 GB, free: 132 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/1.171, allocations: 51.94 kB / 0.8014 GB, free: 131.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02213/1.193, allocations: 14.03 MB / 0.8151 GB, free: 117.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.1e-05/1.193, allocations: 80 kB / 0.8152 GB, free: 117.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/1.194, allocations: 176 kB / 0.8153 GB, free: 117.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00486/1.198, allocations: 2.257 MB / 0.8176 GB, free: 115.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005862/1.204, allocations: 2.016 MB / 0.8195 GB, free: 113.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/1.218, allocations: 13.29 MB / 0.8325 GB, free: 99.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007119/1.225, allocations: 0.5036 MB / 0.833 GB, free: 99.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/1.227, allocations: 0.5113 MB / 0.8335 GB, free: 98.8 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.005646/1.232, allocations: 2.99 MB / 0.8364 GB, free: 95.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/1.234, allocations: 0.5475 MB / 0.8369 GB, free: 95.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.247, allocations: 7.228 MB / 0.844 GB, free: 88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.648e-05/1.248, allocations: 35.94 kB / 0.844 GB, free: 87.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.109e-05/1.248, allocations: 8 kB / 0.844 GB, free: 87.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.799e-05/1.248, allocations: 15.94 kB / 0.8441 GB, free: 87.94 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03021/1.278, allocations: 15.16 MB / 0.8589 GB, free: 72.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/1.278, allocations: 4 kB / 0.8589 GB, free: 72.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/1.28, allocations: 495.2 kB / 0.8593 GB, free: 72.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004743/1.285, allocations: 2.019 MB / 0.8613 GB, free: 70.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003768/1.285, allocations: 59.27 kB / 0.8614 GB, free: 70.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/1.3, allocations: 12.58 MB / 0.8736 GB, free: 57.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.3, allocations: 8 kB / 0.8737 GB, free: 57.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/1.318, allocations: 11.47 MB / 0.8849 GB, free: 45.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/1.321, allocations: 0.6304 MB / 0.8855 GB, free: 45.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002597/1.323, allocations: 48 kB / 0.8855 GB, free: 44.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003716/1.327, allocations: 203.7 kB / 0.8857 GB, free: 44.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009372/1.328, allocations: 181.6 kB / 0.8859 GB, free: 44.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004594/1.328, allocations: 79.92 kB / 0.886 GB, free: 44.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007239/1.336, allocations: 4.26 MB / 0.8901 GB, free: 40.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.11e-07/1.336, allocations: 0 / 0.8901 GB, free: 40.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01/1.346, allocations: 1.588 MB / 0.8917 GB, free: 38.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.001099/1.347, allocations: 193.5 kB / 0.8919 GB, free: 38.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01275/1.36, allocations: 8.741 MB / 0.9004 GB, free: 29.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/1.36, allocations: 0.625 kB / 0.9004 GB, free: 29.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006204/1.366, allocations: 3.538 MB / 0.9038 GB, free: 26.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007572/1.373, allocations: 0.6832 MB / 0.9045 GB, free: 25.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2499/1.623, allocations: 17.81 MB / 0.9219 GB, free: 173.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00695/1.63, allocations: 4.536 MB / 0.9263 GB, free: 172.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007956/1.638, allocations: 2.789 MB / 0.9291 GB, free: 172.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/1.64, allocations: 382.1 kB / 0.9294 GB, free: 172.5 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/1.64, allocations: 2.812 kB / 0.9294 GB, free: 172.5 MB / 0.545 GB Notification: Performance of Templates: time 0.1043/1.744, allocations: 65.08 MB / 0.993 GB, free: 127.9 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