Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001737/0.001737, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002207/0.002207, allocations: 207.4 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.4 MB / 251.7 MB, free: 280 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2469/0.2469, allocations: 46.18 MB / 351.1 MB, free: 14.32 MB / 286.1 MB " [Timeout remaining time 180] 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.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 81.77 kB / 490.2 MB, free: 28.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1319, allocations: 62.45 MB / 0.5397 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01298/0.1449, allocations: 9.505 MB / 0.549 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008709/0.1536, allocations: 3.818 MB / 0.5527 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.1553, allocations: 51.88 kB / 0.5528 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00548/0.1608, allocations: 2.761 MB / 0.5555 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00516/0.1661, allocations: 1.615 MB / 0.557 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.1681, allocations: 0.7173 MB / 0.5577 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006702/0.1749, allocations: 3.891 MB / 0.5615 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005175/0.1801, allocations: 3.675 MB / 0.5651 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003328/0.1834, allocations: 1.394 MB / 0.5665 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005168/0.1886, allocations: 1.9 MB / 0.5683 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001516/0.1902, allocations: 312 kB / 0.5686 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.1943, allocations: 1.19 MB / 0.5698 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003358/0.1976, allocations: 1.749 MB / 0.5715 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005464/0.2031, allocations: 2.008 MB / 0.5735 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.217, allocations: 6.697 MB / 0.58 GB, free: 10.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2171, allocations: 0 / 0.58 GB, free: 10.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2171, allocations: 0 / 0.58 GB, free: 10.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002751/0.2173, allocations: 0 / 0.58 GB, free: 10.77 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: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.01355/0.2309, allocations: 4.446 MB / 0.5843 GB, free: 6.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.231, allocations: 12.03 kB / 0.5844 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01783/0.2488, allocations: 2.463 MB / 0.5868 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006386/0.2553, allocations: 2.469 MB / 0.5892 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.2556, allocations: 214 kB / 0.5894 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/0.2571, allocations: 300 kB / 0.5897 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01874/0.2758, allocations: 8.724 MB / 0.5982 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001753/0.2761, allocations: 43.64 kB / 0.5982 GB, free: 7.328 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009929/0.2771, allocations: 139.9 kB / 0.5984 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003191/0.2803, allocations: 1.661 MB / 0.6 GB, free: 5.527 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2738/0.5541, allocations: 7.202 MB / 0.607 GB, free: 53.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03454/0.5887, allocations: 33.47 MB / 0.6397 GB, free: 30.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00443/0.5932, allocations: 2.437 MB / 0.6421 GB, free: 28.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.5947, allocations: 1.284 MB / 0.6433 GB, free: 27.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/0.595, allocations: 338.2 kB / 0.6437 GB, free: 27.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.5951, allocations: 43.02 kB / 0.6437 GB, free: 27.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 3.246e-06/0.5951, allocations: 3.938 kB / 0.6437 GB, free: 27.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.02536/0.6205, allocations: 11.65 MB / 0.6551 GB, free: 21.14 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.6205, allocations: 197.9 kB / 0.6553 GB, free: 20.92 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003705/0.6243, allocations: 3.588 MB / 0.6588 GB, free: 18.83 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002701/0.6245, allocations: 49.7 kB / 0.6588 GB, free: 18.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.6257, allocations: 2.934 MB / 0.6617 GB, free: 15.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/0.6261, allocations: 0.5799 MB / 0.6623 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.6271, allocations: 1.107 MB / 0.6633 GB, free: 14.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.712e-05/0.6272, allocations: 306.4 kB / 0.6636 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.6293, allocations: 1.806 MB / 0.6654 GB, free: 12.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/0.6323, allocations: 5.182 MB / 0.6704 GB, free: 5.238 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007121/0.6394, allocations: 7.522 MB / 0.6778 GB, free: 12.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.076e-05/0.6395, allocations: 36 kB / 0.6778 GB, free: 12 MB / 478.1 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01314/0.6527, allocations: 7.248 MB / 0.6849 GB, free: 4.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.941e-05/0.6528, allocations: 59.94 kB / 0.685 GB, free: 4.691 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/0.653, allocations: 120 kB / 0.6851 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/0.6547, allocations: 0.6726 MB / 0.6857 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003993/0.6587, allocations: 1.24 MB / 0.6869 GB, free: 2.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005714/0.6644, allocations: 4.341 MB / 0.6912 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003574/0.668, allocations: 299.8 kB / 0.6915 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005654/0.6686, allocations: 335.6 kB / 0.6918 GB, free: 13.56 MB / 494.1 MB 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.003067/0.6717, allocations: 1.951 MB / 0.6937 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006421/0.6724, allocations: 325.8 kB / 0.694 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/0.677, allocations: 2.256 MB / 0.6962 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-05/0.6771, allocations: 16 kB / 0.6962 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.6771, allocations: 2.344 kB / 0.6962 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.6771, allocations: 11.97 kB / 0.6962 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/0.6888, allocations: 6.117 MB / 0.7022 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.6889, allocations: 4 kB / 0.7022 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.6899, allocations: 215.7 kB / 0.7024 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.6914, allocations: 0.4962 MB / 0.7029 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.6916, allocations: 27.98 kB / 0.7029 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005082/0.6967, allocations: 3.947 MB / 0.7068 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6967, allocations: 0 / 0.7068 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00734/0.704, allocations: 4.414 MB / 0.7111 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/0.7048, allocations: 362.9 kB / 0.7114 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/0.7052, allocations: 24 kB / 0.7115 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.7063, allocations: 79.89 kB / 0.7115 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/0.7066, allocations: 96.52 kB / 0.7116 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.7067, allocations: 39.98 kB / 0.7117 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003576/0.7103, allocations: 2.234 MB / 0.7139 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7103, allocations: 0 / 0.7139 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004187/0.7145, allocations: 0.8514 MB / 0.7147 GB, free: 5.875 MB / 0.4981 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.0004196/0.7149, allocations: 142.7 kB / 0.7148 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008373/0.7233, allocations: 4.315 MB / 0.719 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.399e-05/0.7234, allocations: 112 / 0.719 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/0.7256, allocations: 1.232 MB / 0.7202 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.7283, allocations: 384.6 kB / 0.7206 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.7424, allocations: 8.073 MB / 0.7285 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003939/0.7464, allocations: 3.038 MB / 0.7315 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004053/0.7505, allocations: 1.706 MB / 0.7331 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006235/0.7511, allocations: 215.4 kB / 0.7333 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.7511, allocations: 0 / 0.7333 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.05928/0.8104, allocations: 27.08 MB / 0.7598 GB, free: 7.789 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.7044679233804345]