Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00133/0.00133, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00164/0.00164, allocations: 215.1 kB / 23.72 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 46.95 MB / 360.9 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 0.4961 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3651, allocations: 66.04 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01138/0.3765, allocations: 8.421 MB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008126/0.3846, allocations: 3.633 MB / 0.5724 GB, free: 8.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.386, allocations: 63.75 kB / 0.5724 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00511/0.3911, allocations: 2.683 MB / 0.5751 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.3954, allocations: 1.662 MB / 0.5767 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.397, allocations: 0.7213 MB / 0.5774 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005838/0.4029, allocations: 3.895 MB / 0.5812 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003437/0.4063, allocations: 2.76 MB / 0.5839 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.4085, allocations: 1.429 MB / 0.5853 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003197/0.4117, allocations: 2.048 MB / 0.5873 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007217/0.4125, allocations: 316 kB / 0.5876 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.4145, allocations: 1.1 MB / 0.5887 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001932/0.4165, allocations: 1.796 MB / 0.5904 GB, free: 5.582 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00219/0.4186, allocations: 1.553 MB / 0.5919 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008866/0.4275, allocations: 6.876 MB / 0.5986 GB, free: 13.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4275, allocations: 4 kB / 0.5986 GB, free: 13.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4275, allocations: 0 / 0.5986 GB, free: 13.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001594/0.4277, allocations: 0 / 0.5986 GB, free: 13.11 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.009978/0.4377, allocations: 4.508 MB / 0.603 GB, free: 8.551 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4377, allocations: 12.03 kB / 0.6031 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009481/0.4387, allocations: 0.6612 MB / 0.6037 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07601/0.5147, allocations: 7.059 MB / 0.6106 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007684/0.5223, allocations: 2.62 MB / 0.6132 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/0.5225, allocations: 214 kB / 0.6134 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.5236, allocations: 303.8 kB / 0.6136 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/0.54, allocations: 8.707 MB / 0.6222 GB, free: 4.246 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001612/0.5402, allocations: 39.7 kB / 0.6222 GB, free: 4.207 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004942/0.5407, allocations: 143.9 kB / 0.6223 GB, free: 4.066 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002823/0.5435, allocations: 1.657 MB / 0.6239 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.5575, allocations: 7.07 MB / 0.6308 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04399/0.6015, allocations: 31.87 MB / 0.662 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004725/0.6062, allocations: 1.825 MB / 0.6638 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.6079, allocations: 1.117 MB / 0.6648 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/0.6082, allocations: 88.44 kB / 0.6649 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.6082, allocations: 51 kB / 0.665 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.887e-06/0.6082, allocations: 0 / 0.665 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.026/0.6342, allocations: 10.58 MB / 0.6753 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.6343, allocations: 192.6 kB / 0.6755 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005123/0.6395, allocations: 3.793 MB / 0.6792 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.6397, allocations: 45.7 kB / 0.6792 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002309/0.642, allocations: 2.952 MB / 0.6821 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000672/0.6427, allocations: 0.5777 MB / 0.6827 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001358/0.6441, allocations: 1.072 MB / 0.6837 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6442, allocations: 305.1 kB / 0.684 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002689/0.6469, allocations: 1.704 MB / 0.6857 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00579/0.6527, allocations: 5.118 MB / 0.6907 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009346/0.662, allocations: 7.34 MB / 0.6979 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001223/0.6621, allocations: 36 kB / 0.6979 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01374/0.6759, allocations: 6.739 MB / 0.7045 GB, free: 11.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/0.676, allocations: 56 kB / 0.7045 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001771/0.6762, allocations: 127.9 kB / 0.7046 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.6773, allocations: 427.7 kB / 0.7051 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004248/0.6815, allocations: 1.209 MB / 0.7062 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0048/0.6863, allocations: 3.462 MB / 0.7096 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/0.6906, allocations: 291.8 kB / 0.7099 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008238/0.6914, allocations: 328 kB / 0.7102 GB, free: 5.32 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.003712/0.6951, allocations: 1.951 MB / 0.7121 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000823/0.696, allocations: 325.8 kB / 0.7124 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003656/0.6996, allocations: 1.87 MB / 0.7142 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/0.6996, allocations: 16 kB / 0.7143 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.6997, allocations: 4 kB / 0.7143 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.6997, allocations: 11.97 kB / 0.7143 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.7112, allocations: 5.513 MB / 0.7197 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.7112, allocations: 0 / 0.7197 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.7122, allocations: 215.7 kB / 0.7199 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007342/0.713, allocations: 248.6 kB / 0.7201 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.23e-05/0.7131, allocations: 35.89 kB / 0.7201 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003602/0.7167, allocations: 3.051 MB / 0.7231 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.7167, allocations: 3.938 kB / 0.7231 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005945/0.7226, allocations: 3.948 MB / 0.727 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.7236, allocations: 297.6 kB / 0.7273 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003597/0.724, allocations: 20 kB / 0.7273 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.7251, allocations: 79.97 kB / 0.7274 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/0.7254, allocations: 100.5 kB / 0.7275 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.7255, allocations: 39.98 kB / 0.7275 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003527/0.729, allocations: 2.242 MB / 0.7297 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.729, allocations: 0 / 0.7297 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004724/0.7337, allocations: 0.8163 MB / 0.7305 GB, free: 348 kB / 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.2881/1.022, allocations: 4.573 MB / 0.7349 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00585/1.028, allocations: 3.966 MB / 0.7388 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.028, allocations: 0 / 0.7388 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/1.029, allocations: 1.111 MB / 0.7399 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.031, allocations: 390.7 kB / 0.7403 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0417/1.073, allocations: 37.98 MB / 0.7774 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002438/1.075, allocations: 2.494 MB / 0.7798 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003214/1.079, allocations: 1.711 MB / 0.7815 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/1.081, allocations: 1.663 MB / 0.7831 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/1.081, allocations: 0 / 0.7831 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09668/1.177, allocations: 59.11 MB / 0.8408 GB, free: 48.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/15.8, allocations: 7.328 kB / 0.8408 GB, free: 48.55 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/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_4.1.0_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: 19.224644431000343]