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.001837/0.001837, allocations: 113 kB / 17.13 MB, free: 5.941 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.002372/0.002372, allocations: 211.2 kB / 20.09 MB, free: 2.984 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.584/1.584, allocations: 207.6 MB / 230.5 MB, free: 4.012 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.3586/0.3586, allocations: 44.24 MB / 326.6 MB, free: 6.805 MB / 254.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [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.00217/0.00217, allocations: 71.89 kB / 462.2 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3407, allocations: 61.01 MB / 0.511 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01252/0.3533, allocations: 11.28 MB / 0.522 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008232/0.3615, allocations: 4.076 MB / 0.526 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.3638, allocations: 71.75 kB / 0.526 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006127/0.3699, allocations: 2.866 MB / 0.5288 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005945/0.3759, allocations: 1.934 MB / 0.5307 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.3779, allocations: 0.7135 MB / 0.5314 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007644/0.3856, allocations: 4.185 MB / 0.5355 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005859/0.3914, allocations: 3.257 MB / 0.5387 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003979/0.3954, allocations: 1.616 MB / 0.5403 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004435/0.3998, allocations: 2.41 MB / 0.5426 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.4012, allocations: 376 kB / 0.543 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.404, allocations: 1.276 MB / 0.5442 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00264/0.4067, allocations: 2.103 MB / 0.5463 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003838/0.4105, allocations: 2.459 MB / 0.5487 GB, free: 8.168 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.4237, allocations: 8.094 MB / 0.5566 GB, free: 44 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/0.4237, allocations: 0 / 0.5566 GB, free: 44 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4237, allocations: 0 / 0.5566 GB, free: 44 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003536/0.424, allocations: 0 / 0.5566 GB, free: 44 kB / 414.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.02149/0.4455, allocations: 5.245 MB / 0.5617 GB, free: 10.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.39e-05/0.4456, allocations: 15.89 kB / 0.5617 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002873/0.4485, allocations: 0.7699 MB / 0.5625 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09227/0.5407, allocations: 7.172 MB / 0.5695 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008779/0.5495, allocations: 3.137 MB / 0.5725 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/0.5498, allocations: 262.3 kB / 0.5728 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001205/0.551, allocations: 335.8 kB / 0.5731 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/0.5724, allocations: 10.37 MB / 0.5832 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001779/0.5726, allocations: 43.62 kB / 0.5833 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000569/0.5731, allocations: 163.8 kB / 0.5834 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003813/0.5769, allocations: 2.092 MB / 0.5855 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/0.5946, allocations: 8.604 MB / 0.5939 GB, free: 8.973 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05439/0.6489, allocations: 38.31 MB / 0.6313 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00629/0.6552, allocations: 2.844 MB / 0.6341 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/0.6579, allocations: 1.531 MB / 0.6356 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004593/0.6583, allocations: 344 kB / 0.6359 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.6584, allocations: 55.56 kB / 0.6359 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=176): time 4.418e-06/0.6584, allocations: 0 / 0.6359 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=194): time 0.2986/0.957, allocations: 14.14 MB / 0.6497 GB, free: 120 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.818e-05/0.9571, allocations: 207.3 kB / 0.6499 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006959/0.9641, allocations: 3.863 MB / 0.6537 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003933/0.9645, allocations: 52.7 kB / 0.6538 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002106/0.9666, allocations: 3.352 MB / 0.657 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007989/0.9674, allocations: 0.7681 MB / 0.6578 GB, free: 116.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001412/0.9688, allocations: 1.217 MB / 0.659 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.9688, allocations: 304.7 kB / 0.6593 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003763/0.9726, allocations: 2.152 MB / 0.6614 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004935/0.9775, allocations: 5.834 MB / 0.6671 GB, free: 109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008453/0.986, allocations: 8.638 MB / 0.6755 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001968/0.9862, allocations: 39.09 kB / 0.6755 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=783) (initialization): time 0.0145/1.001, allocations: 8 MB / 0.6834 GB, free: 97.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.183e-05/1.001, allocations: 64.25 kB / 0.6834 GB, free: 97.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/1.001, allocations: 132 kB / 0.6835 GB, free: 97.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008787/1.002, allocations: 436.4 kB / 0.684 GB, free: 97.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004332/1.006, allocations: 1.426 MB / 0.6854 GB, free: 95.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/1.01, allocations: 3.604 MB / 0.6889 GB, free: 91.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006122/1.016, allocations: 347.5 kB / 0.6892 GB, free: 91.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/1.017, allocations: 368.8 kB / 0.6896 GB, free: 91.24 MB / 0.4981 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 (745): * Single equations (assignments): 741 * 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.00421/1.021, allocations: 2.24 MB / 0.6917 GB, free: 88.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009873/1.022, allocations: 361.6 kB / 0.6921 GB, free: 88.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004744/1.027, allocations: 2.874 MB / 0.6949 GB, free: 85.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/1.027, allocations: 23.94 kB / 0.6949 GB, free: 85.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.027, allocations: 4 kB / 0.6949 GB, free: 85.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/1.027, allocations: 7.969 kB / 0.6949 GB, free: 85.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/1.04, allocations: 7.781 MB / 0.7025 GB, free: 77.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.04, allocations: 0 / 0.7025 GB, free: 77.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/1.042, allocations: 343.5 kB / 0.7029 GB, free: 77.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006845/1.043, allocations: 260.6 kB / 0.7031 GB, free: 77.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.043, allocations: 31.98 kB / 0.7031 GB, free: 77.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/1.045, allocations: 3.178 MB / 0.7062 GB, free: 73.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.045, allocations: 0 / 0.7062 GB, free: 73.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006943/1.052, allocations: 5.492 MB / 0.7116 GB, free: 68.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/1.054, allocations: 0.6469 MB / 0.7122 GB, free: 67.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005732/1.055, allocations: 28 kB / 0.7123 GB, free: 67.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.056, allocations: 111.9 kB / 0.7124 GB, free: 67.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/1.057, allocations: 137 kB / 0.7125 GB, free: 67.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.057, allocations: 59.34 kB / 0.7126 GB, free: 67.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003142/1.06, allocations: 2.405 MB / 0.7149 GB, free: 65.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.8e-07/1.06, allocations: 0 / 0.7149 GB, free: 65.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005861/1.066, allocations: 0.996 MB / 0.7159 GB, free: 64.09 MB / 0.4981 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.007544/1.073, allocations: 6.134 MB / 0.7219 GB, free: 57.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007752/1.081, allocations: 4.978 MB / 0.7267 GB, free: 52.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.081, allocations: 3.938 kB / 0.7267 GB, free: 52.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002067/1.083, allocations: 1.532 MB / 0.7282 GB, free: 51.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/1.086, allocations: 437.1 kB / 0.7286 GB, free: 50.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05332/1.139, allocations: 44.73 MB / 0.7723 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0051/1.144, allocations: 3.459 MB / 0.7757 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005284/1.15, allocations: 1.947 MB / 0.7776 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00384/1.153, allocations: 1.987 MB / 0.7795 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of SimCode: time 1.563e-06/1.153, allocations: 0 / 0.7795 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1334/1.287, allocations: 66.75 MB / 0.8447 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.99/19.28, allocations: 11.95 kB / 0.8447 GB, free: 6.254 MB / 0.5762 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv","/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: 22.544356824000715]