Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 212.4 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 44.94 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 71.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3538, allocations: 65.48 MB / 0.5575 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01118/0.365, allocations: 8.435 MB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009073/0.374, allocations: 3.637 MB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.3771, allocations: 59.75 kB / 0.5693 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006739/0.3838, allocations: 2.687 MB / 0.5719 GB, free: 8.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005853/0.3897, allocations: 1.658 MB / 0.5735 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.3916, allocations: 0.7213 MB / 0.5742 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006726/0.3984, allocations: 3.883 MB / 0.578 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00432/0.4027, allocations: 2.755 MB / 0.5807 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.4055, allocations: 1.441 MB / 0.5821 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003098/0.4086, allocations: 1.919 MB / 0.584 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007642/0.4094, allocations: 316 kB / 0.5843 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.4116, allocations: 1.088 MB / 0.5854 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002094/0.4137, allocations: 1.784 MB / 0.5871 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001964/0.4157, allocations: 1.495 MB / 0.5886 GB, free: 7.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009059/0.4248, allocations: 6.716 MB / 0.5951 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4248, allocations: 0 / 0.5951 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4248, allocations: 0 / 0.5951 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001722/0.4249, allocations: 0 / 0.5951 GB, free: 0.6797 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.009983/0.4349, allocations: 4.375 MB / 0.5994 GB, free: 12.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.435, allocations: 8.031 kB / 0.5994 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01625/0.4512, allocations: 2.467 MB / 0.6018 GB, free: 9.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008306/0.4595, allocations: 2.401 MB / 0.6042 GB, free: 7.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003213/0.4598, allocations: 222 kB / 0.6044 GB, free: 7.098 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001353/0.4612, allocations: 299.9 kB / 0.6047 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.478, allocations: 8.778 MB / 0.6132 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001249/0.4781, allocations: 43.64 kB / 0.6133 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004169/0.4785, allocations: 135.9 kB / 0.6134 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002907/0.4815, allocations: 1.661 MB / 0.615 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/0.4962, allocations: 7.195 MB / 0.6221 GB, free: 4.332 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.045/0.5412, allocations: 31.26 MB / 0.6526 GB, free: 4.086 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004905/0.5461, allocations: 1.882 MB / 0.6544 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/0.548, allocations: 1.196 MB / 0.6556 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002956/0.5483, allocations: 96.23 kB / 0.6557 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.5484, allocations: 43.06 kB / 0.6557 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 4.759e-06/0.5484, allocations: 0 / 0.6557 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.03007/0.5784, allocations: 11.44 MB / 0.6669 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.5786, allocations: 192.6 kB / 0.6671 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005298/0.5839, allocations: 3.422 MB / 0.6704 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000283/0.5842, allocations: 49.69 kB / 0.6705 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002728/0.5869, allocations: 2.957 MB / 0.6734 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007906/0.5877, allocations: 0.5738 MB / 0.6739 GB, free: 14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001699/0.5894, allocations: 1.115 MB / 0.675 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5895, allocations: 304.9 kB / 0.6753 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00308/0.5926, allocations: 1.806 MB / 0.6771 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006408/0.599, allocations: 5.237 MB / 0.6822 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/0.6096, allocations: 7.524 MB / 0.6895 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/0.6098, allocations: 32 kB / 0.6896 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01549/0.6253, allocations: 7.206 MB / 0.6966 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.6255, allocations: 56 kB / 0.6967 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001878/0.6257, allocations: 120 kB / 0.6968 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001796/0.6275, allocations: 0.6831 MB / 0.6974 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004294/0.6317, allocations: 1.228 MB / 0.6986 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006039/0.6378, allocations: 4.183 MB / 0.7027 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/0.6421, allocations: 295.8 kB / 0.703 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009648/0.643, allocations: 336 kB / 0.7033 GB, free: 12.39 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (663): * Single equations (assignments): 659 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003572/0.6466, allocations: 1.959 MB / 0.7052 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006358/0.6472, allocations: 286.1 kB / 0.7055 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/0.6519, allocations: 2.218 MB / 0.7077 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/0.652, allocations: 16 kB / 0.7077 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.652, allocations: 4 kB / 0.7077 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.652, allocations: 11.97 kB / 0.7077 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.6638, allocations: 5.222 MB / 0.7128 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.6638, allocations: 0 / 0.7128 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.665, allocations: 219.7 kB / 0.713 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.6665, allocations: 0.5041 MB / 0.7135 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.6666, allocations: 23.98 kB / 0.7135 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005516/0.6721, allocations: 3.759 MB / 0.7172 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/0.6721, allocations: 8.016 kB / 0.7172 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008055/0.6801, allocations: 4.371 MB / 0.7215 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007903/0.6809, allocations: 262 kB / 0.7217 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003224/0.6813, allocations: 27.98 kB / 0.7218 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.6824, allocations: 79.97 kB / 0.7218 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/0.6827, allocations: 104.4 kB / 0.7219 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.6828, allocations: 39.98 kB / 0.722 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003371/0.6861, allocations: 1.974 MB / 0.7239 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6861, allocations: 0 / 0.7239 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004343/0.6905, allocations: 0.8397 MB / 0.7247 GB, free: 6.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (107): * Single equations (assignments): 103 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003952/0.6909, allocations: 151 kB / 0.7249 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007537/0.6984, allocations: 4.161 MB / 0.7289 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.6984, allocations: 0 / 0.7289 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002049/0.7005, allocations: 1.158 MB / 0.7301 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.7025, allocations: 332.1 kB / 0.7304 GB, free: 484 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.26/0.9624, allocations: 8.102 MB / 0.7383 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003773/0.9662, allocations: 2.494 MB / 0.7407 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003322/0.9695, allocations: 1.671 MB / 0.7423 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.97, allocations: 197.1 kB / 0.7425 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.71e-07/0.97, allocations: 4 kB / 0.7425 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.04703/1.017, allocations: 27.7 MB / 0.7696 GB, free: 131.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.989832192659378]