Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001355/0.001355, allocations: 112.3 kB / 20.48 MB, free: 1.121 MB / 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.001532/0.001532, allocations: 215.3 kB / 23.78 MB, free: 4.316 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.455/1.455, allocations: 230.5 MB / 257.5 MB, free: 7.938 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 46.94 MB / 360.9 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 79.88 kB / 0.4963 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3728, allocations: 66.08 MB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01152/0.3843, allocations: 8.418 MB / 0.569 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009142/0.3934, allocations: 3.633 MB / 0.5726 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.3953, allocations: 67.69 kB / 0.5726 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006279/0.4015, allocations: 2.687 MB / 0.5752 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.4075, allocations: 1.661 MB / 0.5769 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.4099, allocations: 0.7174 MB / 0.5776 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006567/0.4165, allocations: 3.891 MB / 0.5814 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004708/0.4212, allocations: 2.76 MB / 0.5841 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003053/0.4242, allocations: 1.425 MB / 0.5855 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003891/0.4281, allocations: 1.935 MB / 0.5873 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.4293, allocations: 316 kB / 0.5876 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.4321, allocations: 1.088 MB / 0.5887 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003034/0.4352, allocations: 1.792 MB / 0.5905 GB, free: 5.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003741/0.4389, allocations: 1.553 MB / 0.592 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009878/0.4488, allocations: 6.888 MB / 0.5987 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4488, allocations: 0 / 0.5987 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4488, allocations: 0 / 0.5987 GB, free: 13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002309/0.449, allocations: 0 / 0.5987 GB, free: 13 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.01226/0.4613, allocations: 4.512 MB / 0.6031 GB, free: 8.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4613, allocations: 12.03 kB / 0.6031 GB, free: 8.418 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001585/0.4629, allocations: 0.6574 MB / 0.6038 GB, free: 7.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08653/0.5494, allocations: 7.278 MB / 0.6109 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006935/0.5564, allocations: 2.62 MB / 0.6134 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.5566, allocations: 230 kB / 0.6136 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/0.5578, allocations: 291.8 kB / 0.6139 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01865/0.5764, allocations: 8.719 MB / 0.6224 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001891/0.5766, allocations: 39.64 kB / 0.6225 GB, free: 3.855 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009093/0.5775, allocations: 143.9 kB / 0.6226 GB, free: 3.715 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002896/0.5804, allocations: 1.646 MB / 0.6242 GB, free: 2.066 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/0.594, allocations: 7.078 MB / 0.6311 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04155/0.6355, allocations: 31.95 MB / 0.6623 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004536/0.6401, allocations: 1.882 MB / 0.6642 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.6418, allocations: 1.12 MB / 0.6653 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.642, allocations: 96.38 kB / 0.6654 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.6421, allocations: 43.06 kB / 0.6654 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.797e-06/0.6421, allocations: 0 / 0.6654 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02672/0.6688, allocations: 10.79 MB / 0.6759 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.6689, allocations: 196.5 kB / 0.6761 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004814/0.6737, allocations: 3.797 MB / 0.6798 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002058/0.6739, allocations: 45.7 kB / 0.6799 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002182/0.6761, allocations: 2.952 MB / 0.6828 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006447/0.6768, allocations: 0.5777 MB / 0.6833 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/0.6781, allocations: 1.072 MB / 0.6844 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6782, allocations: 305.1 kB / 0.6847 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002603/0.6808, allocations: 1.693 MB / 0.6863 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005331/0.6861, allocations: 5.114 MB / 0.6913 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009161/0.6953, allocations: 7.35 MB / 0.6985 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/0.6954, allocations: 32 kB / 0.6985 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01276/0.7082, allocations: 6.745 MB / 0.7051 GB, free: 10.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.7083, allocations: 56.97 kB / 0.7052 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/0.7084, allocations: 116 kB / 0.7053 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.7095, allocations: 434 kB / 0.7057 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003679/0.7132, allocations: 1.213 MB / 0.7069 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/0.7176, allocations: 3.456 MB / 0.7102 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/0.7211, allocations: 287.8 kB / 0.7105 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007125/0.7218, allocations: 332 kB / 0.7108 GB, free: 4.621 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 (644): * Single equations (assignments): 640 * 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.003361/0.7252, allocations: 1.955 MB / 0.7127 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007536/0.7259, allocations: 325.8 kB / 0.713 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003954/0.7299, allocations: 1.871 MB / 0.7149 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/0.7299, allocations: 19.98 kB / 0.7149 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.7299, allocations: 4 kB / 0.7149 GB, free: 432 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.7299, allocations: 3.984 kB / 0.7149 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.7425, allocations: 5.534 MB / 0.7203 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.7425, allocations: 0 / 0.7203 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.7436, allocations: 215.7 kB / 0.7205 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007824/0.7444, allocations: 252.6 kB / 0.7208 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.7446, allocations: 27.98 kB / 0.7208 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004019/0.7486, allocations: 3.046 MB / 0.7238 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.7486, allocations: 3.984 kB / 0.7238 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006856/0.7555, allocations: 3.952 MB / 0.7276 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.7567, allocations: 305.6 kB / 0.7279 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008149/0.7576, allocations: 16 kB / 0.7279 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.7591, allocations: 71.92 kB / 0.728 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/0.7594, allocations: 100.5 kB / 0.7281 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.7595, allocations: 39.98 kB / 0.7281 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004565/0.7641, allocations: 2.238 MB / 0.7303 GB, free: 456 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7641, allocations: 4.062 kB / 0.7303 GB, free: 452 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.2673/1.031, allocations: 0.8197 MB / 0.7311 GB, free: 152.7 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.007255/1.039, allocations: 4.575 MB / 0.7356 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006639/1.045, allocations: 3.961 MB / 0.7395 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.045, allocations: 7.594 kB / 0.7395 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/1.047, allocations: 1.104 MB / 0.7405 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/1.049, allocations: 404.9 kB / 0.7409 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04619/1.095, allocations: 37.98 MB / 0.778 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/1.098, allocations: 2.495 MB / 0.7805 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003109/1.101, allocations: 1.701 MB / 0.7821 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/1.102, allocations: 1.66 MB / 0.7837 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/1.102, allocations: 0 / 0.7837 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1395/1.242, allocations: 56.92 MB / 0.8393 GB, free: 49.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.91, allocations: 15.92 kB / 0.8393 GB, free: 49.95 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv","/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_trunk_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: 20.067969483003253]