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.0007957/0.0007959, allocations: 97.11 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009911/0.0009914, allocations: 206.6 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2412/0.2412, allocations: 46.18 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002569/0.0002569, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1345, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2787/0.4133, allocations: 39.62 MB / 0.5105 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.4323, allocations: 8.942 MB / 0.5193 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009574/0.4419, allocations: 174.5 kB / 0.5194 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.4439, allocations: 371.6 kB / 0.5198 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005497/0.4495, allocations: 1.53 MB / 0.5213 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.4515, allocations: 0.6552 MB / 0.5219 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008417/0.46, allocations: 5.643 MB / 0.5274 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006798/0.4668, allocations: 4.836 MB / 0.5322 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.4689, allocations: 0.9962 MB / 0.5331 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.4712, allocations: 1.727 MB / 0.5348 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004175/0.4717, allocations: 124 kB / 0.5349 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.4736, allocations: 1.066 MB / 0.536 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.4749, allocations: 1.534 MB / 0.5375 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.4764, allocations: 1.829 MB / 0.5393 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006135/0.4825, allocations: 6.361 MB / 0.5455 GB, free: 13.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4825, allocations: 0 / 0.5455 GB, free: 13.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4825, allocations: 4 kB / 0.5455 GB, free: 13.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000175/0.4827, allocations: 0 / 0.5455 GB, free: 13.36 MB / 398.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.008878/0.4916, allocations: 3.678 MB / 0.5491 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.4917, allocations: 8.875 kB / 0.5491 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001561/0.4932, allocations: 0.6587 MB / 0.5497 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08947/0.5827, allocations: 7.248 MB / 0.5568 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006246/0.589, allocations: 2.623 MB / 0.5594 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.5893, allocations: 221.8 kB / 0.5596 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001165/0.5905, allocations: 291.5 kB / 0.5599 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/0.6087, allocations: 8.684 MB / 0.5683 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002388/0.609, allocations: 39.66 kB / 0.5684 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001081/0.6101, allocations: 139.2 kB / 0.5685 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002872/0.613, allocations: 1.654 MB / 0.5701 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/0.6265, allocations: 7.121 MB / 0.5771 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04009/0.6667, allocations: 33.42 MB / 0.6097 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004728/0.6714, allocations: 2.401 MB / 0.6121 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.6732, allocations: 1.236 MB / 0.6133 GB, free: 6.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003408/0.6735, allocations: 326.8 kB / 0.6136 GB, free: 6.469 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.6736, allocations: 51 kB / 0.6136 GB, free: 6.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 3.967e-06/0.6736, allocations: 0 / 0.6136 GB, free: 6.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.02539/0.699, allocations: 10.76 MB / 0.6241 GB, free: 11.53 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.6991, allocations: 196.6 kB / 0.6243 GB, free: 11.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005337/0.7045, allocations: 3.587 MB / 0.6278 GB, free: 7.707 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.7047, allocations: 41.7 kB / 0.6279 GB, free: 7.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.7066, allocations: 2.837 MB / 0.6306 GB, free: 4.824 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005945/0.7072, allocations: 0.5504 MB / 0.6312 GB, free: 4.277 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006287/0.7078, allocations: 457.4 kB / 0.6316 GB, free: 3.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.7079, allocations: 305.1 kB / 0.6319 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002963/0.7109, allocations: 1.732 MB / 0.6336 GB, free: 1.785 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00541/0.7163, allocations: 5.091 MB / 0.6386 GB, free: 10.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009075/0.7254, allocations: 7.378 MB / 0.6458 GB, free: 1.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001313/0.7256, allocations: 36 kB / 0.6458 GB, free: 1.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01371/0.7393, allocations: 6.784 MB / 0.6524 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.7395, allocations: 56 kB / 0.6525 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000186/0.7397, allocations: 123.9 kB / 0.6526 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.7407, allocations: 426.1 kB / 0.653 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003769/0.7445, allocations: 1.224 MB / 0.6542 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003994/0.7485, allocations: 3.344 MB / 0.6575 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00376/0.7523, allocations: 299.6 kB / 0.6578 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005736/0.7529, allocations: 330.2 kB / 0.6581 GB, free: 5.203 MB / 0.4981 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.003108/0.756, allocations: 1.951 MB / 0.66 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005428/0.7565, allocations: 304.1 kB / 0.6603 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/0.7601, allocations: 1.933 MB / 0.6621 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/0.7601, allocations: 16 kB / 0.6622 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.7601, allocations: 3.984 kB / 0.6622 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.7602, allocations: 7.984 kB / 0.6622 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.7709, allocations: 5.836 MB / 0.6679 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.771, allocations: 0 / 0.6679 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.7721, allocations: 223.7 kB / 0.6681 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007243/0.7728, allocations: 256.6 kB / 0.6683 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.7729, allocations: 39.86 kB / 0.6684 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/0.7764, allocations: 2.913 MB / 0.6712 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.7764, allocations: 0 / 0.6712 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006199/0.7826, allocations: 4.019 MB / 0.6751 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009534/0.7836, allocations: 353 kB / 0.6755 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006526/0.7842, allocations: 35.12 kB / 0.6755 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.7857, allocations: 79.92 kB / 0.6756 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002853/0.786, allocations: 104.4 kB / 0.6757 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.7862, allocations: 39.98 kB / 0.6757 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004486/0.7906, allocations: 2.242 MB / 0.6779 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.7907, allocations: 0 / 0.6779 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004372/0.795, allocations: 0.8125 MB / 0.6787 GB, free: 15.82 MB / 0.5294 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.006732/0.8018, allocations: 4.643 MB / 0.6832 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007081/0.8089, allocations: 4.14 MB / 0.6873 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.8089, allocations: 0 / 0.6873 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.8107, allocations: 1.197 MB / 0.6885 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/0.8142, allocations: 391.4 kB / 0.6888 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2873/1.102, allocations: 43.83 MB / 0.7316 GB, free: 183.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/1.104, allocations: 3.027 MB / 0.7346 GB, free: 181.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003481/1.108, allocations: 1.702 MB / 0.7362 GB, free: 181.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1.109, allocations: 1.661 MB / 0.7379 GB, free: 180.3 MB / 0.545 GB Notification: Performance of SimCode: time 7.62e-07/1.109, allocations: 0 / 0.7379 GB, free: 180.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07038/1.18, allocations: 57.7 MB / 0.7942 GB, free: 128.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/1.18, allocations: 239.9 kB / 0.7944 GB, free: 128.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.543/4.723, allocations: 3.625 kB / 0.7944 GB, free: 128.3 MB / 0.545 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