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.001292/0.001292, allocations: 113.9 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001628/0.001628, allocations: 201.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.274/0.274, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 73.31 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1509, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3359/0.4868, allocations: 40.72 MB / 0.5081 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02629/0.5131, allocations: 8.906 MB / 0.5168 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01201/0.5252, allocations: 172.9 kB / 0.517 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005915/0.5312, allocations: 2.663 MB / 0.5196 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005636/0.5369, allocations: 1.512 MB / 0.5211 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.5395, allocations: 0.6676 MB / 0.5217 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006987/0.5465, allocations: 4.101 MB / 0.5257 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006201/0.5527, allocations: 3.868 MB / 0.5295 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.5559, allocations: 1.413 MB / 0.5309 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004144/0.56, allocations: 2.116 MB / 0.5329 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001748/0.5618, allocations: 312.8 kB / 0.5332 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.5651, allocations: 1.196 MB / 0.5344 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002938/0.568, allocations: 1.757 MB / 0.5361 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004695/0.5728, allocations: 2.108 MB / 0.5382 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.5841, allocations: 6.667 MB / 0.5447 GB, free: 12.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.5841, allocations: 4 kB / 0.5447 GB, free: 12.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5841, allocations: 4 kB / 0.5447 GB, free: 12.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004229/0.5846, allocations: 0 / 0.5447 GB, free: 12.35 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.0173/0.6019, allocations: 4.461 MB / 0.5491 GB, free: 8.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.602, allocations: 12.03 kB / 0.5491 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002373/0.6043, allocations: 0.6557 MB / 0.5497 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08327/0.6876, allocations: 7.04 MB / 0.5566 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007428/0.6951, allocations: 2.631 MB / 0.5592 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/0.6954, allocations: 215.8 kB / 0.5594 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001539/0.697, allocations: 300.7 kB / 0.5596 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01986/0.7168, allocations: 8.657 MB / 0.5681 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002394/0.7171, allocations: 47.58 kB / 0.5681 GB, free: 4.004 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001359/0.7185, allocations: 139.6 kB / 0.5683 GB, free: 3.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003172/0.7217, allocations: 1.652 MB / 0.5699 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01616/0.7379, allocations: 7.09 MB / 0.5768 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04741/0.7853, allocations: 33.38 MB / 0.6094 GB, free: 8.949 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004906/0.7903, allocations: 2.376 MB / 0.6117 GB, free: 6.426 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.7921, allocations: 1.218 MB / 0.6129 GB, free: 5.199 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/0.7925, allocations: 321 kB / 0.6132 GB, free: 4.836 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.7925, allocations: 55.05 kB / 0.6133 GB, free: 4.773 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 4.398e-06/0.7926, allocations: 4 kB / 0.6133 GB, free: 4.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.02882/0.8214, allocations: 10.49 MB / 0.6235 GB, free: 10.15 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.8215, allocations: 196.6 kB / 0.6237 GB, free: 9.918 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00633/0.8279, allocations: 3.583 MB / 0.6272 GB, free: 6.336 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.8281, allocations: 45.7 kB / 0.6273 GB, free: 6.285 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002118/0.8302, allocations: 2.837 MB / 0.63 GB, free: 3.449 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00068/0.8309, allocations: 0.5585 MB / 0.6306 GB, free: 2.895 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001829/0.8328, allocations: 1.066 MB / 0.6316 GB, free: 1.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.8329, allocations: 301.1 kB / 0.6319 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/0.8357, allocations: 1.7 MB / 0.6336 GB, free: 15.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005095/0.8408, allocations: 5.06 MB / 0.6385 GB, free: 9.055 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007936/0.8488, allocations: 7.332 MB / 0.6457 GB, free: 52 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.8e-05/0.8489, allocations: 47.88 kB / 0.6457 GB, free: 4 kB / 494.1 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01163/0.8605, allocations: 6.729 MB / 0.6523 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.8607, allocations: 56 kB / 0.6523 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001673/0.8608, allocations: 120.3 kB / 0.6524 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.8619, allocations: 429.4 kB / 0.6529 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003638/0.8655, allocations: 1.209 MB / 0.654 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004338/0.8699, allocations: 3.599 MB / 0.6575 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004048/0.8739, allocations: 287.6 kB / 0.6578 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006971/0.8747, allocations: 332 kB / 0.6581 GB, free: 3.125 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.003718/0.8784, allocations: 1.942 MB / 0.66 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007036/0.8791, allocations: 312 kB / 0.6603 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/0.8828, allocations: 1.882 MB / 0.6622 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.919e-05/0.8828, allocations: 16 kB / 0.6622 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.8829, allocations: 4 kB / 0.6622 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.8829, allocations: 7.922 kB / 0.6622 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/0.8946, allocations: 5.775 MB / 0.6678 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.8947, allocations: 3.938 kB / 0.6678 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.8957, allocations: 211.7 kB / 0.668 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007507/0.8965, allocations: 269.1 kB / 0.6683 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.8966, allocations: 27.27 kB / 0.6683 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003655/0.9003, allocations: 3.171 MB / 0.6714 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.9003, allocations: 8.016 kB / 0.6714 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006124/0.9064, allocations: 3.944 MB / 0.6753 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009936/0.9074, allocations: 353 kB / 0.6756 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007332/0.9082, allocations: 20 kB / 0.6756 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.9097, allocations: 67.92 kB / 0.6757 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/0.91, allocations: 96.5 kB / 0.6758 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.9101, allocations: 44.05 kB / 0.6758 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00441/0.9145, allocations: 2.238 MB / 0.678 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9145, allocations: 0 / 0.678 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004884/0.9194, allocations: 0.8204 MB / 0.6788 GB, free: 13.7 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.006677/0.9261, allocations: 4.582 MB / 0.6833 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008448/0.9346, allocations: 4.601 MB / 0.6878 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.9346, allocations: 0 / 0.6878 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.9365, allocations: 1.169 MB / 0.6889 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/0.9398, allocations: 411.3 kB / 0.6893 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2845/1.224, allocations: 43.62 MB / 0.7319 GB, free: 182 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003571/1.228, allocations: 3.039 MB / 0.7349 GB, free: 180.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003902/1.232, allocations: 1.706 MB / 0.7366 GB, free: 180.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/1.234, allocations: 1.661 MB / 0.7382 GB, free: 179.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.283e-06/1.234, allocations: 0 / 0.7382 GB, free: 179.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08751/1.322, allocations: 59.29 MB / 0.7961 GB, free: 125.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/1.322, allocations: 237.4 kB / 0.7963 GB, free: 125.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.733/5.055, allocations: 0 / 0.7963 GB, free: 125.5 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