Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001297/0.001297, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001666/0.001666, allocations: 221.1 kB / 25.13 MB, free: 3.609 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.431/1.431, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2222/0.2222, allocations: 46.93 MB / 362 MB, free: 4.227 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 71.88 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3145, allocations: 66.09 MB / 0.5623 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01244/0.3269, allocations: 9.496 MB / 0.5716 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008069/0.335, allocations: 3.854 MB / 0.5754 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.3365, allocations: 63.69 kB / 0.5754 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005262/0.3417, allocations: 2.804 MB / 0.5782 GB, free: 3.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004146/0.3459, allocations: 1.658 MB / 0.5798 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.3475, allocations: 0.7252 MB / 0.5805 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005974/0.3535, allocations: 3.895 MB / 0.5843 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003612/0.3571, allocations: 2.768 MB / 0.587 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.3593, allocations: 1.429 MB / 0.5884 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002845/0.3622, allocations: 2.052 MB / 0.5904 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006197/0.3628, allocations: 312 kB / 0.5907 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.3649, allocations: 1.104 MB / 0.5918 GB, free: 5.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001848/0.3668, allocations: 1.784 MB / 0.5935 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.3691, allocations: 2.008 MB / 0.5955 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00815/0.3773, allocations: 6.72 MB / 0.602 GB, free: 11.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3773, allocations: 0 / 0.602 GB, free: 11.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3773, allocations: 3.938 kB / 0.602 GB, free: 11.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001582/0.3774, allocations: 0 / 0.602 GB, free: 11.38 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.008844/0.3863, allocations: 4.375 MB / 0.6063 GB, free: 6.953 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3863, allocations: 8.031 kB / 0.6063 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/0.4007, allocations: 2.467 MB / 0.6087 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006278/0.407, allocations: 2.397 MB / 0.6111 GB, free: 2.023 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.4072, allocations: 218 kB / 0.6113 GB, free: 1.809 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007379/0.4079, allocations: 296 kB / 0.6116 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.422, allocations: 8.778 MB / 0.6201 GB, free: 8.086 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.4222, allocations: 39.7 kB / 0.6202 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000378/0.4225, allocations: 139.9 kB / 0.6203 GB, free: 7.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002718/0.4252, allocations: 1.657 MB / 0.6219 GB, free: 6.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.4392, allocations: 7.211 MB / 0.629 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04328/0.4825, allocations: 33.22 MB / 0.6614 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00479/0.4873, allocations: 1.902 MB / 0.6633 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.4891, allocations: 1.188 MB / 0.6644 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.4894, allocations: 100.2 kB / 0.6645 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/0.4894, allocations: 47 kB / 0.6646 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.737e-06/0.4894, allocations: 0 / 0.6646 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02815/0.5176, allocations: 11.46 MB / 0.6758 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.5177, allocations: 204.5 kB / 0.676 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004989/0.5227, allocations: 3.59 MB / 0.6795 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002115/0.5229, allocations: 41.7 kB / 0.6795 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002321/0.5252, allocations: 2.936 MB / 0.6824 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006706/0.5259, allocations: 0.5738 MB / 0.6829 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001417/0.5273, allocations: 1.107 MB / 0.684 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5275, allocations: 309.1 kB / 0.6843 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002953/0.5304, allocations: 1.818 MB / 0.6861 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006014/0.5364, allocations: 5.233 MB / 0.6912 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009969/0.5464, allocations: 7.513 MB / 0.6985 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.859e-05/0.5465, allocations: 32 kB / 0.6986 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01389/0.5604, allocations: 7.242 MB / 0.7056 GB, free: 11.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.5605, allocations: 56 kB / 0.7057 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/0.5606, allocations: 120 kB / 0.7058 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/0.5623, allocations: 0.6831 MB / 0.7065 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/0.5661, allocations: 1.232 MB / 0.7077 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005653/0.5718, allocations: 4.237 MB / 0.7118 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003517/0.5753, allocations: 295.8 kB / 0.7121 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005992/0.5759, allocations: 340 kB / 0.7124 GB, free: 4.832 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.003581/0.5795, allocations: 1.955 MB / 0.7143 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008094/0.5803, allocations: 313.9 kB / 0.7146 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006433/0.5867, allocations: 2.244 MB / 0.7168 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/0.5868, allocations: 16 kB / 0.7168 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.5868, allocations: 4 kB / 0.7168 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/0.5868, allocations: 7.969 kB / 0.7168 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/0.6036, allocations: 6.096 MB / 0.7228 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.6036, allocations: 0 / 0.7228 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.6051, allocations: 223.7 kB / 0.723 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002059/0.6071, allocations: 0.504 MB / 0.7235 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/0.6073, allocations: 31.92 kB / 0.7235 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007285/0.6146, allocations: 3.816 MB / 0.7273 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6146, allocations: 0 / 0.7273 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009353/0.624, allocations: 4.418 MB / 0.7316 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009422/0.6249, allocations: 289.7 kB / 0.7318 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/0.6252, allocations: 27.98 kB / 0.7319 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.6263, allocations: 75.84 kB / 0.7319 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/0.6266, allocations: 100.5 kB / 0.732 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.6267, allocations: 52.02 kB / 0.7321 GB, free: 448 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2513/0.878, allocations: 2.223 MB / 0.7343 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.878, allocations: 0 / 0.7343 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004559/0.8825, allocations: 0.8447 MB / 0.7351 GB, free: 152.9 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.0003144/0.8829, allocations: 141.9 kB / 0.7352 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005634/0.8885, allocations: 4.16 MB / 0.7393 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.8885, allocations: 0 / 0.7393 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.8899, allocations: 1.16 MB / 0.7404 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.8917, allocations: 390.2 kB / 0.7408 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009413/0.9011, allocations: 8.144 MB / 0.7487 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/0.9033, allocations: 3.035 MB / 0.7517 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002916/0.9062, allocations: 1.718 MB / 0.7534 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.9066, allocations: 209.9 kB / 0.7536 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.9066, allocations: 0 / 0.7536 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.04626/0.9529, allocations: 30.92 MB / 0.7838 GB, free: 113.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.613363282056525]