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.001365/0.001365, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 80.73 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1184, allocations: 62.44 MB / 481.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01795/0.1364, allocations: 15.51 MB / 497 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.1474, allocations: 4.944 MB / 0.4901 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003063/0.1505, allocations: 107.7 kB / 0.4902 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009383/0.1599, allocations: 4.984 MB / 0.4951 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006445/0.1664, allocations: 2.47 MB / 0.4975 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.1694, allocations: 1.107 MB / 0.4986 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009641/0.179, allocations: 6.891 MB / 0.5053 GB, free: 396 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2329/0.412, allocations: 5.754 MB / 0.511 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004366/0.4164, allocations: 2.4 MB / 0.5133 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006124/0.4226, allocations: 3.221 MB / 0.5164 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002457/0.4251, allocations: 0.5041 MB / 0.5169 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/0.4294, allocations: 1.389 MB / 0.5183 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00464/0.4341, allocations: 2.976 MB / 0.5212 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007318/0.4414, allocations: 3.343 MB / 0.5245 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.4544, allocations: 10.37 MB / 0.5346 GB, free: 6.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4545, allocations: 3.312 kB / 0.5346 GB, free: 6.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4545, allocations: 0 / 0.5346 GB, free: 6.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004272/0.4549, allocations: 0 / 0.5346 GB, free: 6.508 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.01886/0.4738, allocations: 7.404 MB / 0.5418 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.4738, allocations: 10.78 kB / 0.5418 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/0.4845, allocations: 2.711 MB / 0.5445 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.4952, allocations: 4.278 MB / 0.5487 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003179/0.4956, allocations: 354.2 kB / 0.549 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001933/0.4975, allocations: 480.6 kB / 0.5495 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02984/0.5274, allocations: 14.68 MB / 0.5638 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003194/0.5278, allocations: 70.08 kB / 0.5639 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00194/0.5297, allocations: 226.5 kB / 0.5641 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004923/0.5346, allocations: 2.739 MB / 0.5668 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02579/0.5605, allocations: 12.5 MB / 0.579 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07365/0.6341, allocations: 58.01 MB / 0.6356 GB, free: 3.145 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01657/0.6507, allocations: 7.277 MB / 0.6427 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00455/0.6553, allocations: 3.892 MB / 0.6465 GB, free: 7.832 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01591/0.6712, allocations: 8.989 MB / 0.6553 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/0.6713, allocations: 59.38 kB / 0.6554 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=246): time 5.079e-06/0.6713, allocations: 0 / 0.6554 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=288): time 0.09304/0.7644, allocations: 32.71 MB / 0.6873 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.7646, allocations: 243.1 kB / 0.6875 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0129/0.7775, allocations: 6.649 MB / 0.694 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000865/0.7784, allocations: 67.73 kB / 0.6941 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003508/0.7819, allocations: 4.385 MB / 0.6984 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001636/0.7836, allocations: 1.094 MB / 0.6994 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00264/0.7862, allocations: 1.783 MB / 0.7012 GB, free: 15.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7863, allocations: 305.1 kB / 0.7015 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005089/0.7914, allocations: 3.617 MB / 0.705 GB, free: 11.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008928/0.8004, allocations: 8.61 MB / 0.7134 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2835/1.084, allocations: 13.15 MB / 0.7263 GB, free: 173.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/1.084, allocations: 50.28 kB / 0.7263 GB, free: 173.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02719/1.111, allocations: 14.04 MB / 0.74 GB, free: 169.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/1.111, allocations: 79.56 kB / 0.7401 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000323/1.112, allocations: 174 kB / 0.7403 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005491/1.117, allocations: 2.261 MB / 0.7425 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00662/1.124, allocations: 2.017 MB / 0.7444 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/1.139, allocations: 14.23 MB / 0.7583 GB, free: 161.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007867/1.147, allocations: 0.5036 MB / 0.7588 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001631/1.149, allocations: 0.5145 MB / 0.7593 GB, free: 161.1 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.005578/1.155, allocations: 2.984 MB / 0.7622 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/1.156, allocations: 0.5564 MB / 0.7628 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.167, allocations: 7.22 MB / 0.7698 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-05/1.167, allocations: 35.94 kB / 0.7699 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/1.167, allocations: 8 kB / 0.7699 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.514e-05/1.167, allocations: 19.98 kB / 0.7699 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02316/1.19, allocations: 15.11 MB / 0.7847 GB, free: 138.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/1.19, allocations: 12.03 kB / 0.7847 GB, free: 138.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/1.192, allocations: 495.2 kB / 0.7851 GB, free: 138.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004374/1.196, allocations: 2.014 MB / 0.7871 GB, free: 136.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000264/1.197, allocations: 55.94 kB / 0.7872 GB, free: 136.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/1.21, allocations: 13.52 MB / 0.8004 GB, free: 122.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.21, allocations: 10.62 kB / 0.8004 GB, free: 122.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/1.225, allocations: 11.47 MB / 0.8116 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/1.227, allocations: 0.6303 MB / 0.8122 GB, free: 110.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008592/1.228, allocations: 55.98 kB / 0.8122 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.23, allocations: 201.9 kB / 0.8124 GB, free: 110.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005076/1.23, allocations: 181.6 kB / 0.8126 GB, free: 110.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/1.231, allocations: 77.09 kB / 0.8127 GB, free: 110 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005328/1.236, allocations: 4.26 MB / 0.8168 GB, free: 105.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.236, allocations: 0 / 0.8168 GB, free: 105.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00671/1.243, allocations: 1.586 MB / 0.8184 GB, free: 104.2 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.000503/1.243, allocations: 196.9 kB / 0.8186 GB, free: 104 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.253, allocations: 8.764 MB / 0.8271 GB, free: 95.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.253, allocations: 0 / 0.8271 GB, free: 95.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004812/1.258, allocations: 3.536 MB / 0.8306 GB, free: 91.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003761/1.262, allocations: 0.7349 MB / 0.8313 GB, free: 90.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/1.282, allocations: 14.88 MB / 0.8458 GB, free: 75.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003967/1.286, allocations: 4.543 MB / 0.8503 GB, free: 71.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005381/1.291, allocations: 2.79 MB / 0.853 GB, free: 68.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/1.292, allocations: 387.4 kB / 0.8534 GB, free: 68.23 MB / 0.545 GB Notification: Performance of SimCode: time 1.442e-06/1.292, allocations: 0 / 0.8534 GB, free: 68.23 MB / 0.545 GB Notification: Performance of Templates: time 0.08815/1.38, allocations: 59.58 MB / 0.9115 GB, free: 9.07 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 -s gbode -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