Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001403/0.001403, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002335/0.002335, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2379/0.2379, allocations: 46.97 MB / 361.6 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 71.89 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3305, allocations: 66.03 MB / 0.5618 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01246/0.3429, allocations: 8.415 MB / 0.5701 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008243/0.3512, allocations: 3.641 MB / 0.5736 GB, free: 8.102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.3526, allocations: 63.69 kB / 0.5737 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00547/0.358, allocations: 2.683 MB / 0.5763 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004504/0.3625, allocations: 1.658 MB / 0.5779 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.3643, allocations: 0.7213 MB / 0.5786 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005493/0.3698, allocations: 3.888 MB / 0.5824 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003618/0.3734, allocations: 2.767 MB / 0.5851 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.3759, allocations: 1.433 MB / 0.5865 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003197/0.3791, allocations: 2.052 MB / 0.5885 GB, free: 8.738 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007845/0.3799, allocations: 312 kB / 0.5888 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.3822, allocations: 1.096 MB / 0.5899 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001919/0.3842, allocations: 1.788 MB / 0.5916 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002226/0.3864, allocations: 1.487 MB / 0.5931 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008924/0.3953, allocations: 6.716 MB / 0.5996 GB, free: 13.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3953, allocations: 0 / 0.5996 GB, free: 13.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3953, allocations: 0 / 0.5996 GB, free: 13.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001956/0.3955, allocations: 4 kB / 0.5996 GB, free: 13.3 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.01032/0.4058, allocations: 4.379 MB / 0.6039 GB, free: 8.867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.4059, allocations: 8.031 kB / 0.6039 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/0.4227, allocations: 2.463 MB / 0.6063 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006853/0.4296, allocations: 2.413 MB / 0.6087 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.4298, allocations: 221.9 kB / 0.6089 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008494/0.4306, allocations: 296 kB / 0.6092 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/0.4462, allocations: 8.778 MB / 0.6178 GB, free: 9.984 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/0.4463, allocations: 39.7 kB / 0.6178 GB, free: 9.945 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004423/0.4468, allocations: 139.9 kB / 0.6179 GB, free: 9.809 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00294/0.4497, allocations: 1.653 MB / 0.6195 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.4638, allocations: 7.188 MB / 0.6266 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04025/0.5041, allocations: 31.27 MB / 0.6571 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004931/0.509, allocations: 1.886 MB / 0.6589 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/0.5109, allocations: 1.192 MB / 0.6601 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.5111, allocations: 100.2 kB / 0.6602 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.5112, allocations: 51.05 kB / 0.6603 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 4.258e-06/0.5112, allocations: 0 / 0.6603 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.0299/0.5411, allocations: 11.43 MB / 0.6714 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.5412, allocations: 192.6 kB / 0.6716 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004868/0.5461, allocations: 3.422 MB / 0.6749 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002552/0.5463, allocations: 45.7 kB / 0.675 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002289/0.5486, allocations: 2.957 MB / 0.6779 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007016/0.5493, allocations: 0.5738 MB / 0.6784 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001566/0.5509, allocations: 1.111 MB / 0.6795 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.551, allocations: 305.1 kB / 0.6798 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/0.554, allocations: 1.818 MB / 0.6816 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005943/0.56, allocations: 5.237 MB / 0.6867 GB, free: 440 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/0.5706, allocations: 7.519 MB / 0.694 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/0.5707, allocations: 32 kB / 0.6941 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01456/0.5853, allocations: 7.216 MB / 0.7011 GB, free: 15.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.172e-05/0.5853, allocations: 56 kB / 0.7012 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001507/0.5855, allocations: 116 kB / 0.7013 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/0.5874, allocations: 0.6833 MB / 0.702 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004257/0.5916, allocations: 1.232 MB / 0.7032 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00598/0.5976, allocations: 4.171 MB / 0.7072 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003587/0.6012, allocations: 295.8 kB / 0.7075 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006094/0.6018, allocations: 340 kB / 0.7078 GB, free: 9 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.003212/0.605, allocations: 1.947 MB / 0.7097 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006206/0.6056, allocations: 286.1 kB / 0.71 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/0.6103, allocations: 2.226 MB / 0.7122 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.6103, allocations: 11.97 kB / 0.7122 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6103, allocations: 3.938 kB / 0.7122 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000565/0.6109, allocations: 253.9 kB / 0.7124 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/0.6112, allocations: 24 kB / 0.7125 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.6123, allocations: 87.89 kB / 0.7125 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/0.6126, allocations: 116.4 kB / 0.7127 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005568/0.6181, allocations: 2.866 MB / 0.7155 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00582/0.624, allocations: 3.972 MB / 0.7193 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001527/0.6255, allocations: 0.9345 MB / 0.7202 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003435/0.6289, allocations: 1.97 MB / 0.7222 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of Backend: time 6.41e-07/0.6289, allocations: 3.938 kB / 0.7222 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008374/0.6373, allocations: 3.506 MB / 0.7256 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of SimCode: time 0.2515/0.8888, allocations: 8.3 MB / 0.7337 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.06069/0.9495, allocations: 41.67 MB / 0.7744 GB, free: 122.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.874758293000923]