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.001323/0.001323, allocations: 115.8 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.001542/0.001542, allocations: 199.5 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.367/1.367, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001398, allocations: 76.66 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1144, allocations: 62.44 MB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.0151/0.1295, allocations: 15.51 MB / 497 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009507/0.1391, allocations: 4.94 MB / 0.4901 GB, free: 0 / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.1414, allocations: 99.8 kB / 0.4902 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008844/0.1503, allocations: 5 MB / 0.4951 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007461/0.1578, allocations: 2.459 MB / 0.4975 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.1604, allocations: 1.111 MB / 0.4986 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.1708, allocations: 6.887 MB / 0.5053 GB, free: 416 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.215/0.3859, allocations: 5.758 MB / 0.5109 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004534/0.3904, allocations: 2.397 MB / 0.5133 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005625/0.3961, allocations: 3.229 MB / 0.5164 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002307/0.3984, allocations: 0.5038 MB / 0.5169 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004291/0.4027, allocations: 1.388 MB / 0.5183 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004248/0.407, allocations: 2.97 MB / 0.5212 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004754/0.4118, allocations: 3.351 MB / 0.5245 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009228/0.421, allocations: 10.37 MB / 0.5346 GB, free: 6.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.421, allocations: 4 kB / 0.5346 GB, free: 6.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4211, allocations: 0 / 0.5346 GB, free: 6.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002367/0.4213, allocations: 0 / 0.5346 GB, free: 6.504 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.01503/0.4363, allocations: 7.401 MB / 0.5418 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.4364, allocations: 9.562 kB / 0.5418 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.4468, allocations: 2.717 MB / 0.5445 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009312/0.4561, allocations: 4.273 MB / 0.5487 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.4564, allocations: 356.7 kB / 0.549 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/0.4579, allocations: 479.4 kB / 0.5494 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02476/0.4826, allocations: 14.68 MB / 0.5638 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.4828, allocations: 68.95 kB / 0.5639 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005195/0.4834, allocations: 228.2 kB / 0.5641 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004296/0.4877, allocations: 2.74 MB / 0.5667 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02437/0.512, allocations: 12.5 MB / 0.579 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07491/0.587, allocations: 58.01 MB / 0.6356 GB, free: 3.168 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01764/0.6047, allocations: 7.268 MB / 0.6427 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005224/0.61, allocations: 3.892 MB / 0.6465 GB, free: 7.859 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01591/0.6259, allocations: 8.986 MB / 0.6553 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.282e-05/0.626, allocations: 62.34 kB / 0.6553 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=246): time 5.25e-06/0.626, allocations: 0 / 0.6553 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=288): time 0.08386/0.7099, allocations: 32.72 MB / 0.6873 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.7101, allocations: 234.3 kB / 0.6875 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/0.721, allocations: 6.649 MB / 0.694 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008948/0.7219, allocations: 68.28 kB / 0.6941 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003955/0.7258, allocations: 4.385 MB / 0.6984 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001882/0.7277, allocations: 1.099 MB / 0.6994 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002779/0.7305, allocations: 1.78 MB / 0.7012 GB, free: 15.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7307, allocations: 305.1 kB / 0.7015 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005285/0.736, allocations: 3.617 MB / 0.705 GB, free: 11.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008939/0.7449, allocations: 8.613 MB / 0.7134 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2675/1.012, allocations: 13.15 MB / 0.7263 GB, free: 174.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001654/1.013, allocations: 49.69 kB / 0.7263 GB, free: 174.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02714/1.04, allocations: 14.04 MB / 0.74 GB, free: 169.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.286e-05/1.04, allocations: 82.84 kB / 0.7401 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/1.04, allocations: 178.1 kB / 0.7403 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005231/1.045, allocations: 2.263 MB / 0.7425 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006051/1.051, allocations: 2.017 MB / 0.7444 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/1.066, allocations: 14.23 MB / 0.7583 GB, free: 161.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006699/1.072, allocations: 0.5048 MB / 0.7588 GB, free: 161.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.074, allocations: 0.5077 MB / 0.7593 GB, free: 161.5 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.004076/1.078, allocations: 2.987 MB / 0.7622 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008799/1.079, allocations: 0.5535 MB / 0.7628 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/1.089, allocations: 7.222 MB / 0.7698 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-05/1.089, allocations: 35.94 kB / 0.7699 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/1.089, allocations: 8 kB / 0.7699 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.642e-05/1.089, allocations: 18.58 kB / 0.7699 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02294/1.112, allocations: 15.12 MB / 0.7847 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/1.112, allocations: 8 kB / 0.7847 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/1.114, allocations: 491.7 kB / 0.7851 GB, free: 138.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004297/1.118, allocations: 2.011 MB / 0.7871 GB, free: 136.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002826/1.119, allocations: 56 kB / 0.7872 GB, free: 136.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/1.132, allocations: 13.52 MB / 0.8004 GB, free: 122.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.132, allocations: 7.938 kB / 0.8004 GB, free: 122.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/1.146, allocations: 11.47 MB / 0.8116 GB, free: 111.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/1.148, allocations: 0.638 MB / 0.8122 GB, free: 110.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008962/1.149, allocations: 52.84 kB / 0.8122 GB, free: 110.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/1.151, allocations: 207.7 kB / 0.8124 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005116/1.151, allocations: 169.6 kB / 0.8126 GB, free: 110.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.152, allocations: 80.78 kB / 0.8127 GB, free: 110.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005954/1.158, allocations: 4.264 MB / 0.8168 GB, free: 105.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.158, allocations: 0 / 0.8168 GB, free: 105.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01158/1.169, allocations: 1.587 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.0009034/1.17, allocations: 192.2 kB / 0.8186 GB, free: 104 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01117/1.181, allocations: 8.772 MB / 0.8271 GB, free: 95.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.181, allocations: 0 / 0.8271 GB, free: 95.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004601/1.186, allocations: 3.544 MB / 0.8306 GB, free: 91.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/1.19, allocations: 0.7182 MB / 0.8313 GB, free: 91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/1.208, allocations: 14.89 MB / 0.8458 GB, free: 76.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/1.212, allocations: 4.539 MB / 0.8503 GB, free: 71.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005146/1.217, allocations: 2.787 MB / 0.853 GB, free: 68.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.218, allocations: 387.3 kB / 0.8534 GB, free: 68.29 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/1.218, allocations: 0 / 0.8534 GB, free: 68.29 MB / 0.545 GB Notification: Performance of Templates: time 0.08742/1.306, allocations: 59.58 MB / 0.9116 GB, free: 9.129 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 cvode -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