Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001469/0.001469, allocations: 83.03 kB / 20.52 MB, free: 1.277 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.002008/0.002008, allocations: 166.5 kB / 23.76 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 158.6 MB / 185.5 MB, free: 6.207 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.211/0.211, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002354/0.002354, allocations: 68.38 kB / 407.8 MB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1398, allocations: 61.04 MB / 468.8 MB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3001/0.4399, allocations: 9.865 MB / 478.7 MB, free: 43.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008601/0.4485, allocations: 3.878 MB / 482.5 MB, free: 43.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/0.4507, allocations: 74.41 kB / 482.6 MB, free: 43.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00495/0.4557, allocations: 2.749 MB / 485.4 MB, free: 42.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005929/0.4616, allocations: 1.961 MB / 487.3 MB, free: 42.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.4636, allocations: 0.7072 MB / 488 MB, free: 41.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006158/0.4698, allocations: 4.177 MB / 492.2 MB, free: 40.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003667/0.4735, allocations: 3.011 MB / 495.2 MB, free: 38.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003185/0.4767, allocations: 1.619 MB / 496.8 MB, free: 37.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004065/0.4807, allocations: 2.29 MB / 499.1 MB, free: 37.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.4819, allocations: 372.3 kB / 499.5 MB, free: 37.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002851/0.4848, allocations: 1.146 MB / 0.4889 GB, free: 37.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002445/0.4872, allocations: 2.1 MB / 0.491 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003164/0.4904, allocations: 1.76 MB / 0.4927 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01446/0.5048, allocations: 7.958 MB / 0.5005 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.5049, allocations: 0 / 0.5005 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5049, allocations: 0 / 0.5005 GB, free: 32.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004122/0.5053, allocations: 1.094 kB / 0.5005 GB, free: 32.17 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.02232/0.5276, allocations: 5.026 MB / 0.5054 GB, free: 29.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5276, allocations: 8.906 kB / 0.5054 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02042/0.5481, allocations: 2.645 MB / 0.508 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.5586, allocations: 2.689 MB / 0.5106 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003784/0.559, allocations: 261 kB / 0.5108 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002457/0.5615, allocations: 338.1 kB / 0.5111 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02583/0.5873, allocations: 10.47 MB / 0.5214 GB, free: 20.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002369/0.5875, allocations: 45.73 kB / 0.5214 GB, free: 20.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001048/0.5886, allocations: 158.2 kB / 0.5216 GB, free: 20.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003719/0.5923, allocations: 2.089 MB / 0.5236 GB, free: 19.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.6095, allocations: 8.679 MB / 0.5321 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05782/0.6673, allocations: 35.83 MB / 0.5671 GB, free: 7.434 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006894/0.6742, allocations: 2.496 MB / 0.5695 GB, free: 4.898 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003085/0.6773, allocations: 1.589 MB / 0.5711 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003769/0.6776, allocations: 96.92 kB / 0.5712 GB, free: 3.207 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.072e-05/0.6777, allocations: 59.59 kB / 0.5712 GB, free: 3.141 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 6.202e-06/0.6777, allocations: 0 / 0.5712 GB, free: 3.141 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.04092/0.7186, allocations: 15 MB / 0.5859 GB, free: 4.082 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/0.7188, allocations: 205.2 kB / 0.5861 GB, free: 3.836 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006346/0.7251, allocations: 3.642 MB / 0.5896 GB, free: 188 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005414/0.7257, allocations: 53.7 kB / 0.5897 GB, free: 128 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003185/0.7289, allocations: 3.355 MB / 0.5929 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001388/0.7302, allocations: 0.7675 MB / 0.5937 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002223/0.7325, allocations: 1.262 MB / 0.5949 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7326, allocations: 305.1 kB / 0.5952 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004562/0.7372, allocations: 2.257 MB / 0.5974 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009636/0.7468, allocations: 6 MB / 0.6033 GB, free: 288 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/0.7623, allocations: 8.829 MB / 0.6119 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000265/0.7625, allocations: 36 kB / 0.6119 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02087/0.7834, allocations: 8.465 MB / 0.6202 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.7836, allocations: 64.12 kB / 0.6203 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002368/0.7838, allocations: 136 kB / 0.6204 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.7858, allocations: 0.676 MB / 0.6211 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005941/0.7917, allocations: 1.447 MB / 0.6225 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006466/0.7982, allocations: 4.209 MB / 0.6266 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005853/0.804, allocations: 359.7 kB / 0.6269 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/0.8056, allocations: 372 kB / 0.6273 GB, free: 5.773 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (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 (764): * Single equations (assignments): 760 * 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,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00653/0.8121, allocations: 2.236 MB / 0.6295 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/0.8132, allocations: 325.8 kB / 0.6298 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008483/0.8217, allocations: 3.214 MB / 0.6329 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.001e-05/0.8218, allocations: 20 kB / 0.6329 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/0.8218, allocations: 7.938 kB / 0.6329 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.541e-05/0.8218, allocations: 11.97 kB / 0.6329 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02106/0.8429, allocations: 7.036 MB / 0.6398 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.8429, allocations: 0 / 0.6398 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/0.8449, allocations: 343.5 kB / 0.6401 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001654/0.8465, allocations: 0.5013 MB / 0.6406 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002814/0.8468, allocations: 39.97 kB / 0.6407 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005371/0.8522, allocations: 3.768 MB / 0.6443 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8522, allocations: 0 / 0.6443 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/0.8635, allocations: 5.911 MB / 0.6501 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001922/0.8654, allocations: 0.5561 MB / 0.6507 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009243/0.8663, allocations: 31.94 kB / 0.6507 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/0.8685, allocations: 115.8 kB / 0.6508 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004947/0.869, allocations: 137 kB / 0.6509 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/0.8692, allocations: 55.98 kB / 0.651 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005344/0.8745, allocations: 2.096 MB / 0.653 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8745, allocations: 0 / 0.653 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006585/0.8811, allocations: 1.016 MB / 0.654 GB, free: 10.16 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 (164): * Single equations (assignments): 160 * 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.000508/0.8816, allocations: 158.8 kB / 0.6542 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00947/0.8911, allocations: 5.15 MB / 0.6592 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8911, allocations: 0 / 0.6592 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00293/0.894, allocations: 1.595 MB / 0.6608 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/0.897, allocations: 361.2 kB / 0.6611 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/0.9174, allocations: 9.737 MB / 0.6706 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004975/0.9224, allocations: 2.927 MB / 0.6735 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005016/0.9274, allocations: 1.907 MB / 0.6753 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009068/0.9283, allocations: 240.5 kB / 0.6756 GB, free: 4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.583e-06/0.9283, allocations: 0 / 0.6756 GB, free: 4 MB / 0.5762 GB Notification: Performance of Templates: time 0.2821/1.21, allocations: 29.26 MB / 0.7041 GB, free: 185.6 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.108363725012168]