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.001335/0.001335, 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.001795/0.001795, allocations: 214.6 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.574/1.574, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2251/0.2251, allocations: 44.27 MB / 330.3 MB, free: 9.309 MB / 270.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.002251/0.002251, allocations: 64.33 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.133, allocations: 61.05 MB / 0.5162 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01329/0.1463, allocations: 9.877 MB / 0.5258 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009699/0.156, allocations: 3.856 MB / 0.5296 GB, free: 9.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.1577, allocations: 75.69 kB / 0.5296 GB, free: 9.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005867/0.1635, allocations: 2.753 MB / 0.5323 GB, free: 6.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00657/0.1701, allocations: 1.973 MB / 0.5343 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.1725, allocations: 0.7018 MB / 0.5349 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2735/0.446, allocations: 4.172 MB / 0.539 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004633/0.4507, allocations: 3 MB / 0.5419 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.4543, allocations: 1.631 MB / 0.5435 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004706/0.4591, allocations: 2.286 MB / 0.5458 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001327/0.4604, allocations: 375.9 kB / 0.5461 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.4636, allocations: 1.143 MB / 0.5472 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003112/0.4667, allocations: 2.103 MB / 0.5493 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003655/0.4704, allocations: 1.832 MB / 0.5511 GB, free: 9.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01683/0.4872, allocations: 8.127 MB / 0.559 GB, free: 7.016 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.4872, allocations: 0 / 0.559 GB, free: 7.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4872, allocations: 0 / 0.559 GB, free: 7.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003318/0.4875, allocations: 1.125 kB / 0.559 GB, free: 7.016 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.01773/0.5053, allocations: 5.169 MB / 0.5641 GB, free: 4.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5053, allocations: 9.594 kB / 0.5641 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001976/0.5073, allocations: 0.7717 MB / 0.5648 GB, free: 3.875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08814/0.5954, allocations: 7.168 MB / 0.5718 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008251/0.6037, allocations: 3.091 MB / 0.5749 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.6039, allocations: 254.4 kB / 0.5751 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/0.6052, allocations: 337 kB / 0.5754 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02068/0.6259, allocations: 10.43 MB / 0.5856 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.6261, allocations: 41.67 kB / 0.5856 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004857/0.6266, allocations: 160.4 kB / 0.5858 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00376/0.6303, allocations: 2.1 MB / 0.5879 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0194/0.6497, allocations: 8.585 MB / 0.5962 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05808/0.7078, allocations: 36.53 MB / 0.6319 GB, free: 9.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00605/0.7138, allocations: 2.385 MB / 0.6342 GB, free: 7.426 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002632/0.7165, allocations: 1.529 MB / 0.6357 GB, free: 5.887 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003451/0.7168, allocations: 100.8 kB / 0.6358 GB, free: 5.789 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/0.7169, allocations: 55.03 kB / 0.6359 GB, free: 5.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 4.638e-06/0.7169, allocations: 0 / 0.6359 GB, free: 5.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03533/0.7522, allocations: 13.98 MB / 0.6495 GB, free: 7.746 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/0.7524, allocations: 209.2 kB / 0.6497 GB, free: 7.496 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006709/0.7591, allocations: 4.075 MB / 0.6537 GB, free: 3.434 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005386/0.7596, allocations: 53.7 kB / 0.6538 GB, free: 3.375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00308/0.7627, allocations: 3.342 MB / 0.657 GB, free: 44 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001425/0.7641, allocations: 0.7661 MB / 0.6578 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002095/0.7662, allocations: 1.225 MB / 0.659 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7664, allocations: 301.1 kB / 0.6593 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003902/0.7703, allocations: 2.151 MB / 0.6614 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00744/0.7777, allocations: 5.884 MB / 0.6671 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01396/0.7917, allocations: 8.639 MB / 0.6755 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001571/0.7918, allocations: 36 kB / 0.6756 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=783) (initialization): time 0.01819/0.81, allocations: 7.996 MB / 0.6834 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.8101, allocations: 63.94 kB / 0.6834 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/0.8103, allocations: 132 kB / 0.6836 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.8114, allocations: 441.9 kB / 0.684 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005243/0.8166, allocations: 1.411 MB / 0.6854 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004683/0.8213, allocations: 3.486 MB / 0.6888 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00507/0.8263, allocations: 343.8 kB / 0.6891 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009719/0.8273, allocations: 371.9 kB / 0.6895 GB, free: 11.32 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.004658/0.832, allocations: 2.229 MB / 0.6916 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007852/0.8328, allocations: 365.5 kB / 0.692 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005724/0.8385, allocations: 2.879 MB / 0.6948 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.984e-05/0.8385, allocations: 29.25 kB / 0.6948 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.8385, allocations: 4 kB / 0.6948 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/0.8386, allocations: 11.97 kB / 0.6948 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.8554, allocations: 7.425 MB / 0.7021 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.8554, allocations: 4 kB / 0.7021 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/0.8572, allocations: 339.5 kB / 0.7024 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007804/0.858, allocations: 254.9 kB / 0.7027 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/0.8582, allocations: 39.98 kB / 0.7027 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004033/0.8622, allocations: 3.037 MB / 0.7057 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.8622, allocations: 7.969 kB / 0.7057 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009308/0.8715, allocations: 5.484 MB / 0.711 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002122/0.8736, allocations: 0.5832 MB / 0.7116 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008411/0.8745, allocations: 31.94 kB / 0.7116 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.8761, allocations: 111.9 kB / 0.7117 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003629/0.8764, allocations: 133 kB / 0.7119 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.8766, allocations: 58.31 kB / 0.7119 GB, free: 4.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004314/0.8809, allocations: 2.409 MB / 0.7143 GB, free: 1.762 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8809, allocations: 0 / 0.7143 GB, free: 1.762 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005975/0.8869, allocations: 0.996 MB / 0.7152 GB, free: 0.7656 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.01095/0.8978, allocations: 6.137 MB / 0.7212 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009981/0.9078, allocations: 4.983 MB / 0.7261 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/0.9078, allocations: 4 kB / 0.7261 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002923/0.9107, allocations: 1.524 MB / 0.7276 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/0.9136, allocations: 448 kB / 0.728 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1049/1.018, allocations: 44.82 MB / 0.7718 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2455/1.264, allocations: 2.924 MB / 0.7746 GB, free: 217.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00653/1.27, allocations: 1.942 MB / 0.7765 GB, free: 217.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003338/1.274, allocations: 1.993 MB / 0.7785 GB, free: 217.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.593e-06/1.274, allocations: 0 / 0.7785 GB, free: 217.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/1.391, allocations: 66.75 MB / 0.8437 GB, free: 172.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/17.07, allocations: 7.859 kB / 0.8437 GB, free: 172.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.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: 20.72914981096983]