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.0008456/0.0008456, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004002/0.004002, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8957/0.8957, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2458/0.2458, allocations: 32.79 MB / 294.2 MB, free: 1.203 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.298e-05, allocations: 2.844 kB / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.1833/0.1833, allocations: 8.421 MB / 449.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005165/0.1885, allocations: 3.633 MB / 452.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.1897, allocations: 65.12 kB / 453 MB, free: 40.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.1923, allocations: 2.826 MB / 455.8 MB, free: 38.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.1955, allocations: 1.713 MB / 457.5 MB, free: 38.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1967, allocations: 0.7738 MB / 458.3 MB, free: 37.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003669/0.2003, allocations: 4.282 MB / 462.6 MB, free: 36.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003392/0.2037, allocations: 3.02 MB / 465.6 MB, free: 34.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.2067, allocations: 2.14 MB / 467.7 MB, free: 33.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.2088, allocations: 2.024 MB / 469.8 MB, free: 33.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005835/0.2094, allocations: 319.3 kB / 470.1 MB, free: 33.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.2109, allocations: 1.137 MB / 471.2 MB, free: 33.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.2121, allocations: 1.86 MB / 473.1 MB, free: 32.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.2135, allocations: 1.16 MB / 474.2 MB, free: 31.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006597/0.2201, allocations: 6.776 MB / 481 MB, free: 29.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.2201, allocations: 0 / 481 MB, free: 29.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2201, allocations: 7.938 kB / 481 MB, free: 29.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002979/0.2204, allocations: 1.125 kB / 481 MB, free: 29.46 MB / 410.7 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.01134/0.2317, allocations: 4.379 MB / 485.4 MB, free: 26.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2318, allocations: 9.219 kB / 485.4 MB, free: 26.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008876/0.2406, allocations: 2.519 MB / 487.9 MB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005281/0.2459, allocations: 2.4 MB / 490.3 MB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.2461, allocations: 215.7 kB / 490.5 MB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.2471, allocations: 296 kB / 490.8 MB, free: 25.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.2592, allocations: 8.779 MB / 499.6 MB, free: 20.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.2593, allocations: 49.11 kB / 499.6 MB, free: 20.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000302/0.2596, allocations: 137.4 kB / 499.8 MB, free: 20.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001589/0.2612, allocations: 1.653 MB / 0.4897 GB, free: 20.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.272, allocations: 7.2 MB / 0.4967 GB, free: 16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02837/0.3004, allocations: 31.42 MB / 0.5274 GB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.3035, allocations: 1.955 MB / 0.5293 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.3047, allocations: 1.188 MB / 0.5305 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.3049, allocations: 88.38 kB / 0.5305 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.3049, allocations: 51 kB / 0.5306 GB, free: 12.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 4.038e-06/0.3049, allocations: 4 kB / 0.5306 GB, free: 12.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=140): time 0.01815/0.3231, allocations: 11.74 MB / 0.5421 GB, free: 500 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.3231, allocations: 192.6 kB / 0.5422 GB, free: 260 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003597/0.3267, allocations: 3.516 MB / 0.5457 GB, free: 12.72 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002661/0.327, allocations: 41.7 kB / 0.5457 GB, free: 12.68 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.3283, allocations: 2.926 MB / 0.5486 GB, free: 9.719 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005768/0.3289, allocations: 0.5738 MB / 0.5491 GB, free: 9.141 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.3299, allocations: 1.092 MB / 0.5502 GB, free: 8.039 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.33, allocations: 301.1 kB / 0.5505 GB, free: 7.742 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.3322, allocations: 1.806 MB / 0.5523 GB, free: 5.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003588/0.3358, allocations: 5.233 MB / 0.5574 GB, free: 14.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006453/0.3423, allocations: 7.517 MB / 0.5647 GB, free: 5.793 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.187e-05/0.3424, allocations: 35.94 kB / 0.5647 GB, free: 5.758 MB / 474.7 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01181/0.3542, allocations: 7.212 MB / 0.5718 GB, free: 14.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.095e-05/0.3543, allocations: 56 kB / 0.5718 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001552/0.3544, allocations: 123.9 kB / 0.572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.356, allocations: 0.6812 MB / 0.5726 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004184/0.3602, allocations: 1.232 MB / 0.5738 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005462/0.3657, allocations: 4.199 MB / 0.5779 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003143/0.3688, allocations: 327.7 kB / 0.5782 GB, free: 7.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006541/0.3695, allocations: 332 kB / 0.5786 GB, free: 7.508 MB / 490.7 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.00274/0.3722, allocations: 1.953 MB / 0.5805 GB, free: 5.543 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005924/0.3728, allocations: 298 kB / 0.5807 GB, free: 5.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/0.3755, allocations: 2.207 MB / 0.5829 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000305/0.3758, allocations: 23.56 kB / 0.5829 GB, free: 3.008 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3758, allocations: 4 kB / 0.5829 GB, free: 3.004 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.3759, allocations: 7.984 kB / 0.5829 GB, free: 2.996 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00752/0.3834, allocations: 5.294 MB / 0.5881 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.3834, allocations: 0 / 0.5881 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.384, allocations: 219.7 kB / 0.5883 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008085/0.3848, allocations: 0.5041 MB / 0.5888 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.143e-05/0.3848, allocations: 23.98 kB / 0.5888 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003288/0.3881, allocations: 3.791 MB / 0.5925 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3881, allocations: 8.094 kB / 0.5925 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/0.3927, allocations: 4.375 MB / 0.5968 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.3938, allocations: 285.9 kB / 0.5971 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.3941, allocations: 20 kB / 0.5971 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000748/0.3948, allocations: 111.9 kB / 0.5972 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.395, allocations: 103.6 kB / 0.5973 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/0.3951, allocations: 43.92 kB / 0.5973 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002441/0.3975, allocations: 2.037 MB / 0.5993 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/0.3975, allocations: 0 / 0.5993 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003296/0.4008, allocations: 0.9217 MB / 0.6002 GB, free: 1.094 MB / 0.4948 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.0003811/0.4012, allocations: 159 kB / 0.6004 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005577/0.4068, allocations: 4.145 MB / 0.6044 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.4068, allocations: 384 / 0.6044 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.4081, allocations: 1.173 MB / 0.6056 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.4097, allocations: 350.9 kB / 0.6059 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.4207, allocations: 8.445 MB / 0.6142 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002225/0.4229, allocations: 2.475 MB / 0.6166 GB, free: 288 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007733/0.4237, allocations: 252.4 kB / 0.6168 GB, free: 36 kB / 0.5105 GB Notification: Performance of SimCode: time 1.462e-06/0.4237, allocations: 0 / 0.6168 GB, free: 36 kB / 0.5105 GB Notification: Performance of Templates: time 0.2368/0.6605, allocations: 68.48 MB / 0.6837 GB, free: 132.5 MB / 0.5261 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: 7.5978614911437035]