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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009611/0.000961, allocations: 95.61 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 172.7 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1975/0.1975, allocations: 44.25 MB / 337.7 MB, free: 2.512 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 8.188 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1356, allocations: 61.93 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3258/0.4614, allocations: 50.46 MB / 0.5105 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02709/0.4885, allocations: 10.86 MB / 0.5211 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01264/0.5012, allocations: 216.3 kB / 0.5213 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.5032, allocations: 395.2 kB / 0.5216 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.509, allocations: 1.609 MB / 0.5232 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.5112, allocations: 0.6451 MB / 0.5238 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008868/0.5201, allocations: 5.832 MB / 0.5295 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007349/0.5275, allocations: 4.908 MB / 0.5343 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00269/0.5303, allocations: 1.022 MB / 0.5353 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/0.5334, allocations: 1.796 MB / 0.5371 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007061/0.5342, allocations: 132.8 kB / 0.5372 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.5366, allocations: 1.089 MB / 0.5383 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00192/0.5386, allocations: 1.632 MB / 0.5399 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002248/0.5408, allocations: 1.884 MB / 0.5417 GB, free: 256 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00849/0.5493, allocations: 6.528 MB / 0.5481 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5494, allocations: 0 / 0.5481 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5494, allocations: 4 kB / 0.5481 GB, free: 11.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002898/0.5497, allocations: 0 / 0.5481 GB, free: 11.42 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.009717/0.5594, allocations: 3.701 MB / 0.5517 GB, free: 7.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.5595, allocations: 11.97 kB / 0.5517 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01749/0.577, allocations: 2.529 MB / 0.5542 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006402/0.5834, allocations: 2.497 MB / 0.5566 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.5837, allocations: 229.2 kB / 0.5568 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001215/0.5849, allocations: 306.3 kB / 0.5571 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01834/0.6033, allocations: 9.319 MB / 0.5662 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000261/0.6036, allocations: 35.66 kB / 0.5663 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001263/0.6049, allocations: 146.7 kB / 0.5664 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003462/0.6084, allocations: 1.844 MB / 0.5682 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01717/0.6256, allocations: 7.716 MB / 0.5757 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0469/0.6725, allocations: 34.9 MB / 0.6098 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00515/0.6777, allocations: 2.457 MB / 0.6122 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.6797, allocations: 1.296 MB / 0.6135 GB, free: 6.855 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003857/0.6801, allocations: 328.3 kB / 0.6138 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.6801, allocations: 51.06 kB / 0.6139 GB, free: 6.422 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 3.677e-06/0.6801, allocations: 0 / 0.6139 GB, free: 6.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.03139/0.7115, allocations: 11.92 MB / 0.6255 GB, free: 10.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.7117, allocations: 196.5 kB / 0.6257 GB, free: 10.12 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005619/0.7173, allocations: 3.634 MB / 0.6292 GB, free: 6.492 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002563/0.7176, allocations: 45.89 kB / 0.6293 GB, free: 6.441 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002245/0.7199, allocations: 2.939 MB / 0.6321 GB, free: 3.508 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007315/0.7206, allocations: 0.5586 MB / 0.6327 GB, free: 2.953 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006568/0.7213, allocations: 488.4 kB / 0.6332 GB, free: 2.473 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.7214, allocations: 305.1 kB / 0.6334 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003105/0.7245, allocations: 1.845 MB / 0.6352 GB, free: 328 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00547/0.73, allocations: 5.281 MB / 0.6404 GB, free: 9.312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009468/0.7395, allocations: 7.662 MB / 0.6479 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/0.7396, allocations: 32 kB / 0.6479 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01432/0.754, allocations: 7.343 MB / 0.6551 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.7541, allocations: 60 kB / 0.6551 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001857/0.7543, allocations: 120 kB / 0.6553 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001759/0.7561, allocations: 0.6802 MB / 0.6559 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004087/0.7602, allocations: 1.263 MB / 0.6572 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005401/0.7656, allocations: 4.06 MB / 0.6611 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004224/0.7698, allocations: 327.6 kB / 0.6614 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008262/0.7707, allocations: 342.1 kB / 0.6618 GB, free: 1.598 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.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 (672): * Single equations (assignments): 668 * 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.003931/0.7746, allocations: 2.033 MB / 0.6637 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006236/0.7753, allocations: 308 kB / 0.664 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004807/0.7801, allocations: 2.296 MB / 0.6663 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/0.7801, allocations: 19.94 kB / 0.6663 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.7801, allocations: 4 kB / 0.6663 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.7802, allocations: 3.984 kB / 0.6663 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.7945, allocations: 6.348 MB / 0.6725 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.7945, allocations: 7.938 kB / 0.6725 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.7957, allocations: 231.7 kB / 0.6727 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/0.7973, allocations: 0.5041 MB / 0.6732 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.7975, allocations: 23.98 kB / 0.6733 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004759/0.8022, allocations: 3.649 MB / 0.6768 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.8023, allocations: 7.984 kB / 0.6768 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007442/0.8097, allocations: 4.473 MB / 0.6812 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008754/0.8106, allocations: 357.3 kB / 0.6815 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005525/0.8112, allocations: 26.02 kB / 0.6816 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.8126, allocations: 99.97 kB / 0.6817 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000345/0.813, allocations: 96.44 kB / 0.6817 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.8131, allocations: 39.98 kB / 0.6818 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004217/0.8173, allocations: 2.262 MB / 0.684 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8173, allocations: 0 / 0.684 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005114/0.8224, allocations: 0.8858 MB / 0.6849 GB, free: 9.719 MB / 0.5294 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.0005763/0.823, allocations: 147 kB / 0.685 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008313/0.8314, allocations: 4.38 MB / 0.6893 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8314, allocations: 0 / 0.6893 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/0.8336, allocations: 1.251 MB / 0.6905 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/0.8368, allocations: 387.8 kB / 0.6909 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/0.8552, allocations: 10.33 MB / 0.701 GB, free: 9.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005258/0.8605, allocations: 3.152 MB / 0.704 GB, free: 6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004918/0.8655, allocations: 1.726 MB / 0.7057 GB, free: 4.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009459/0.8664, allocations: 215.4 kB / 0.7059 GB, free: 4.059 MB / 0.545 GB Notification: Performance of SimCode: time 1.593e-06/0.8665, allocations: 0 / 0.7059 GB, free: 4.059 MB / 0.545 GB Notification: Performance of Templates: time 0.3002/1.167, allocations: 28.94 MB / 0.7342 GB, free: 193 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (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) 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) Reference file matches