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.001888/0.001888, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002234/0.002234, allocations: 216.1 kB / 22.99 MB, free: 4.977 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.503/1.503, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.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.2284/0.2284, allocations: 44.27 MB / 330.3 MB, free: 9.297 MB / 270.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: "" <> 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.002794/0.002794, allocations: 75.88 kB / 467.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1254, allocations: 61.03 MB / 0.5162 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01374/0.1391, allocations: 9.884 MB / 0.5258 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008782/0.1479, allocations: 3.864 MB / 0.5296 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.1497, allocations: 71.69 kB / 0.5296 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005733/0.1554, allocations: 2.757 MB / 0.5323 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005204/0.1606, allocations: 1.961 MB / 0.5343 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.1625, allocations: 0.7096 MB / 0.5349 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2606/0.4231, allocations: 4.167 MB / 0.539 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0044/0.4275, allocations: 3.007 MB / 0.542 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.4304, allocations: 1.632 MB / 0.5435 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004199/0.4346, allocations: 2.283 MB / 0.5458 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001302/0.4359, allocations: 373.9 kB / 0.5461 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002907/0.4388, allocations: 1.142 MB / 0.5472 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002922/0.4418, allocations: 2.111 MB / 0.5493 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004272/0.446, allocations: 1.827 MB / 0.5511 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.4589, allocations: 8.128 MB / 0.559 GB, free: 7.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4589, allocations: 0 / 0.559 GB, free: 7.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.4589, allocations: 1.062 kB / 0.559 GB, free: 7.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004116/0.4593, allocations: 0 / 0.559 GB, free: 7.09 MB / 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.01908/0.4784, allocations: 5.168 MB / 0.5641 GB, free: 4.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4784, allocations: 11.09 kB / 0.5641 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0019/0.4803, allocations: 0.7708 MB / 0.5648 GB, free: 3.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08523/0.5655, allocations: 7.164 MB / 0.5718 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009392/0.5749, allocations: 3.095 MB / 0.5749 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.5752, allocations: 248.8 kB / 0.5751 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001521/0.5767, allocations: 339.4 kB / 0.5754 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/0.5978, allocations: 10.43 MB / 0.5856 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002042/0.598, allocations: 50.8 kB / 0.5857 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007822/0.5988, allocations: 161.2 kB / 0.5858 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004947/0.6037, allocations: 2.088 MB / 0.5879 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.6224, allocations: 8.586 MB / 0.5962 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0595/0.6819, allocations: 36.54 MB / 0.6319 GB, free: 9.785 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005869/0.6878, allocations: 2.376 MB / 0.6342 GB, free: 7.391 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002531/0.6903, allocations: 1.525 MB / 0.6357 GB, free: 5.855 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/0.6907, allocations: 106.8 kB / 0.6358 GB, free: 5.754 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.6907, allocations: 50.38 kB / 0.6359 GB, free: 5.699 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 4.358e-06/0.6907, allocations: 4 kB / 0.6359 GB, free: 5.695 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03379/0.7245, allocations: 13.98 MB / 0.6495 GB, free: 7.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.7246, allocations: 201.2 kB / 0.6497 GB, free: 7.461 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006552/0.7312, allocations: 4.075 MB / 0.6537 GB, free: 3.398 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004175/0.7316, allocations: 57.78 kB / 0.6538 GB, free: 3.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002948/0.7346, allocations: 3.343 MB / 0.657 GB, free: 4 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.7358, allocations: 0.7669 MB / 0.6578 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/0.7378, allocations: 1.226 MB / 0.659 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.738, allocations: 301.1 kB / 0.6593 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003976/0.7419, allocations: 2.151 MB / 0.6614 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008575/0.7505, allocations: 5.878 MB / 0.6671 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/0.7636, allocations: 8.64 MB / 0.6755 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001415/0.7637, allocations: 36 kB / 0.6756 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of matching and sorting (n=783) (initialization): time 0.01761/0.7813, allocations: 7.995 MB / 0.6834 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.923e-05/0.7814, allocations: 63.75 kB / 0.6834 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/0.7816, allocations: 128.9 kB / 0.6836 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.7826, allocations: 441.5 kB / 0.684 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004936/0.7876, allocations: 1.423 MB / 0.6854 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004643/0.7922, allocations: 3.485 MB / 0.6888 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004447/0.7967, allocations: 346.8 kB / 0.6891 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008374/0.7975, allocations: 368 kB / 0.6895 GB, free: 11.3 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 (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.004264/0.8018, allocations: 2.236 MB / 0.6916 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007459/0.8025, allocations: 362.9 kB / 0.692 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005652/0.8082, allocations: 2.878 MB / 0.6948 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.349e-05/0.8082, allocations: 20 kB / 0.6948 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.8082, allocations: 4 kB / 0.6948 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.8082, allocations: 7.969 kB / 0.6948 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/0.8233, allocations: 7.434 MB / 0.7021 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.8233, allocations: 4 kB / 0.7021 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.825, allocations: 335.5 kB / 0.7024 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007515/0.8258, allocations: 260.5 kB / 0.7027 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.8259, allocations: 43.11 kB / 0.7027 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003886/0.8298, allocations: 3.029 MB / 0.7057 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.8298, allocations: 3.938 kB / 0.7057 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009207/0.839, allocations: 5.494 MB / 0.711 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/0.8411, allocations: 0.5835 MB / 0.7116 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008254/0.8419, allocations: 31.94 kB / 0.7116 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/0.8438, allocations: 112 kB / 0.7117 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/0.8441, allocations: 141 kB / 0.7119 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/0.8443, allocations: 55.97 kB / 0.7119 GB, free: 4.113 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004604/0.8489, allocations: 2.409 MB / 0.7143 GB, free: 1.723 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8489, allocations: 0 / 0.7143 GB, free: 1.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005312/0.8542, allocations: 0.9921 MB / 0.7152 GB, free: 0.7305 MB / 0.545 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.009495/0.8637, allocations: 6.131 MB / 0.7212 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009528/0.8732, allocations: 4.978 MB / 0.7261 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.8733, allocations: 0 / 0.7261 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002951/0.8762, allocations: 1.528 MB / 0.7276 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.879, allocations: 452.2 kB / 0.728 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07749/0.9564, allocations: 44.82 MB / 0.7718 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2338/1.19, allocations: 2.927 MB / 0.7746 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005633/1.196, allocations: 1.943 MB / 0.7765 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00314/1.199, allocations: 1.989 MB / 0.7785 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.614e-06/1.199, allocations: 0 / 0.7785 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/1.319, allocations: 66.76 MB / 0.8437 GB, free: 172.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/17.11, allocations: 8.406 kB / 0.8437 GB, free: 172.1 MB / 0.6075 GB " [Timeout remaining time 643] (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: 20.36074606515467]