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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001598/0.001598, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00204/0.00204, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 79.86 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3717, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01087/0.3827, allocations: 9.5 MB / 0.5398 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008266/0.391, allocations: 3.823 MB / 0.5435 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.393, allocations: 57.72 kB / 0.5436 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005487/0.3985, allocations: 2.755 MB / 0.5463 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005786/0.4043, allocations: 1.617 MB / 0.5479 GB, free: 4 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.4064, allocations: 0.7096 MB / 0.5485 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006403/0.4128, allocations: 3.898 MB / 0.5524 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005502/0.4183, allocations: 3.675 MB / 0.5559 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.4211, allocations: 1.406 MB / 0.5573 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003093/0.4242, allocations: 1.904 MB / 0.5592 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.4252, allocations: 312 kB / 0.5595 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.4279, allocations: 1.182 MB / 0.5606 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002174/0.4301, allocations: 1.749 MB / 0.5623 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003683/0.4338, allocations: 2.082 MB / 0.5644 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008968/0.4428, allocations: 6.837 MB / 0.571 GB, free: 8.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4428, allocations: 0 / 0.571 GB, free: 8.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4428, allocations: 4 kB / 0.571 GB, free: 8.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002595/0.4431, allocations: 0 / 0.571 GB, free: 8.125 MB / 430.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.01315/0.4563, allocations: 4.457 MB / 0.5754 GB, free: 3.602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.4563, allocations: 12.03 kB / 0.5754 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001758/0.4581, allocations: 0.6573 MB / 0.5761 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0777/0.5358, allocations: 7.029 MB / 0.5829 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006113/0.542, allocations: 2.679 MB / 0.5855 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/0.5422, allocations: 214 kB / 0.5857 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/0.5433, allocations: 303.7 kB / 0.586 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.558, allocations: 8.657 MB / 0.5945 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.5582, allocations: 39.66 kB / 0.5945 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003883/0.5586, allocations: 139.9 kB / 0.5947 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002447/0.561, allocations: 1.657 MB / 0.5963 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/0.5747, allocations: 7.082 MB / 0.6032 GB, free: 6.406 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03669/0.6115, allocations: 33.23 MB / 0.6356 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00485/0.6163, allocations: 2.375 MB / 0.638 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.618, allocations: 1.219 MB / 0.6392 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/0.6183, allocations: 323.8 kB / 0.6395 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.6184, allocations: 51.11 kB / 0.6395 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.457e-06/0.6184, allocations: 0 / 0.6395 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02531/0.6437, allocations: 10.48 MB / 0.6497 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.6438, allocations: 204.5 kB / 0.6499 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004287/0.6481, allocations: 3.583 MB / 0.6534 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.6483, allocations: 41.7 kB / 0.6535 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.65, allocations: 2.837 MB / 0.6562 GB, free: 14.63 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/0.6506, allocations: 0.5595 MB / 0.6568 GB, free: 14.06 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/0.6518, allocations: 1.063 MB / 0.6578 GB, free: 12.99 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.652, allocations: 301.1 kB / 0.6581 GB, free: 12.69 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002463/0.6544, allocations: 1.697 MB / 0.6598 GB, free: 10.99 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004407/0.6588, allocations: 5.071 MB / 0.6647 GB, free: 4.215 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008087/0.667, allocations: 7.336 MB / 0.6719 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.27e-05/0.6671, allocations: 36 kB / 0.6719 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.0116/0.6787, allocations: 6.74 MB / 0.6785 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.88e-05/0.6788, allocations: 56 kB / 0.6786 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/0.6789, allocations: 120 kB / 0.6787 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009477/0.6798, allocations: 436.6 kB / 0.6791 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/0.6832, allocations: 1.209 MB / 0.6803 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003809/0.6871, allocations: 3.583 MB / 0.6838 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/0.6905, allocations: 287.7 kB / 0.684 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005433/0.691, allocations: 328 kB / 0.6844 GB, free: 14.29 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.002683/0.6937, allocations: 1.959 MB / 0.6863 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/0.6943, allocations: 308 kB / 0.6866 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/0.6975, allocations: 1.878 MB / 0.6884 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/0.6975, allocations: 16 kB / 0.6884 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.6975, allocations: 4 kB / 0.6884 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6976, allocations: 3.984 kB / 0.6884 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009383/0.7069, allocations: 5.761 MB / 0.694 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.707, allocations: 8 kB / 0.6941 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.708, allocations: 211.7 kB / 0.6943 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006989/0.7087, allocations: 256.6 kB / 0.6945 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.054e-05/0.7088, allocations: 19.98 kB / 0.6945 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00341/0.7122, allocations: 3.177 MB / 0.6976 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7123, allocations: 0 / 0.6976 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005461/0.7177, allocations: 3.941 MB / 0.7015 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007848/0.7185, allocations: 357 kB / 0.7018 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003272/0.7189, allocations: 24 kB / 0.7018 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.7199, allocations: 63.92 kB / 0.7019 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.7202, allocations: 108.4 kB / 0.702 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-05/0.7203, allocations: 39.98 kB / 0.702 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003417/0.7237, allocations: 2.238 MB / 0.7042 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7238, allocations: 0 / 0.7042 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004179/0.7279, allocations: 0.8241 MB / 0.705 GB, free: 8.836 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.005996/0.7339, allocations: 4.571 MB / 0.7095 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007252/0.7412, allocations: 4.095 MB / 0.7135 GB, free: 144 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7413, allocations: 0 / 0.7135 GB, free: 144 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.743, allocations: 1.166 MB / 0.7146 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/0.746, allocations: 408.9 kB / 0.715 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3037/1.05, allocations: 37.75 MB / 0.7519 GB, free: 161.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002381/1.052, allocations: 3.038 MB / 0.7549 GB, free: 158.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003044/1.055, allocations: 1.708 MB / 0.7565 GB, free: 156.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/1.057, allocations: 1.655 MB / 0.7581 GB, free: 155.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.663e-06/1.057, allocations: 3.938 kB / 0.7581 GB, free: 155.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.082/1.139, allocations: 57.26 MB / 0.8141 GB, free: 98.37 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.11/23.25, allocations: 4.062 kB / 0.8141 GB, free: 98.36 MB / 0.5763 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches