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: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001847/0.001847, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 83.86 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1142, allocations: 62.44 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.0116/0.1259, allocations: 9.482 MB / 490.9 MB, free: 11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007595/0.1335, allocations: 3.827 MB / 494.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.1352, allocations: 55.81 kB / 494.8 MB, free: 7.109 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005086/0.1403, allocations: 2.757 MB / 497.6 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004829/0.1452, allocations: 1.619 MB / 499.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.1471, allocations: 0.7135 MB / 499.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005462/0.1526, allocations: 3.88 MB / 0.492 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004514/0.1572, allocations: 3.682 MB / 0.4956 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.1597, allocations: 1.394 MB / 0.4969 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.1626, allocations: 1.9 MB / 0.4988 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005495/0.1631, allocations: 312 kB / 0.4991 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.1651, allocations: 1.182 MB / 0.5003 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.1666, allocations: 1.757 MB / 0.502 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.1685, allocations: 2.008 MB / 0.5039 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2266/0.3951, allocations: 6.66 MB / 0.5104 GB, free: 21.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.3952, allocations: 0 / 0.5104 GB, free: 21.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3952, allocations: 0 / 0.5104 GB, free: 21.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002852/0.3955, allocations: 1.25 kB / 0.5104 GB, free: 21.74 MB / 382.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.01392/0.4094, allocations: 4.334 MB / 0.5147 GB, free: 20.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4095, allocations: 9.625 kB / 0.5147 GB, free: 20.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/0.4249, allocations: 2.443 MB / 0.5171 GB, free: 19.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00787/0.4328, allocations: 2.456 MB / 0.5195 GB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.433, allocations: 217.1 kB / 0.5197 GB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001521/0.4346, allocations: 292 kB / 0.52 GB, free: 19.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.4511, allocations: 8.731 MB / 0.5285 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001983/0.4513, allocations: 42.44 kB / 0.5285 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006921/0.452, allocations: 137.4 kB / 0.5286 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002374/0.4544, allocations: 1.658 MB / 0.5303 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/0.467, allocations: 7.225 MB / 0.5373 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04135/0.5084, allocations: 33.41 MB / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004954/0.5134, allocations: 2.438 MB / 0.5723 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/0.5153, allocations: 1.285 MB / 0.5736 GB, free: 7.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003796/0.5157, allocations: 322.7 kB / 0.5739 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.5157, allocations: 43.12 kB / 0.5739 GB, free: 7.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 4.489e-06/0.5157, allocations: 0 / 0.5739 GB, free: 7.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.02957/0.5453, allocations: 11.46 MB / 0.5851 GB, free: 11.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.5454, allocations: 200.5 kB / 0.5853 GB, free: 11.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006482/0.5519, allocations: 3.573 MB / 0.5888 GB, free: 7.672 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.5522, allocations: 45.7 kB / 0.5888 GB, free: 7.621 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001847/0.5541, allocations: 2.817 MB / 0.5916 GB, free: 4.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005824/0.5547, allocations: 0.5527 MB / 0.5921 GB, free: 4.273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/0.556, allocations: 1.106 MB / 0.5932 GB, free: 3.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.5561, allocations: 305.1 kB / 0.5935 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002563/0.5587, allocations: 1.813 MB / 0.5953 GB, free: 1.043 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00465/0.5634, allocations: 5.186 MB / 0.6003 GB, free: 10.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008796/0.5722, allocations: 7.52 MB / 0.6077 GB, free: 1.516 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.271e-05/0.5723, allocations: 37.42 kB / 0.6077 GB, free: 1.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01322/0.5855, allocations: 7.227 MB / 0.6148 GB, free: 10.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.605e-05/0.5856, allocations: 58.19 kB / 0.6148 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001606/0.5858, allocations: 120 kB / 0.615 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/0.5874, allocations: 0.6839 MB / 0.6156 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003551/0.591, allocations: 1.232 MB / 0.6168 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00505/0.5961, allocations: 4.339 MB / 0.6211 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/0.5998, allocations: 299.7 kB / 0.6213 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000673/0.6005, allocations: 340 kB / 0.6217 GB, free: 3.258 MB / 462.1 MB 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 (663): * Single equations (assignments): 659 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003329/0.6039, allocations: 1.947 MB / 0.6236 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006742/0.6045, allocations: 308.1 kB / 0.6239 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.6089, allocations: 2.25 MB / 0.6261 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.6089, allocations: 18.42 kB / 0.6261 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.6089, allocations: 4 kB / 0.6261 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.6089, allocations: 3.984 kB / 0.6261 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.6223, allocations: 6.122 MB / 0.6321 GB, free: 8.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/0.6223, allocations: 3.984 kB / 0.6321 GB, free: 8.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.6234, allocations: 219.7 kB / 0.6323 GB, free: 8.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/0.6247, allocations: 0.5002 MB / 0.6328 GB, free: 7.824 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.6248, allocations: 23.98 kB / 0.6328 GB, free: 7.801 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00454/0.6294, allocations: 3.917 MB / 0.6366 GB, free: 3.754 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.6294, allocations: 8.094 kB / 0.6366 GB, free: 3.746 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/0.6359, allocations: 4.397 MB / 0.6409 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009682/0.6369, allocations: 357 kB / 0.6413 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006273/0.6375, allocations: 16 kB / 0.6413 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.6389, allocations: 79.91 kB / 0.6414 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.6392, allocations: 108.4 kB / 0.6415 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.6394, allocations: 39.98 kB / 0.6415 GB, free: 14.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004499/0.6439, allocations: 2.225 MB / 0.6437 GB, free: 12.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6439, allocations: 0 / 0.6437 GB, free: 12.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004801/0.6487, allocations: 0.8547 MB / 0.6445 GB, free: 11.64 MB / 494.1 MB 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.0004173/0.6491, allocations: 146 kB / 0.6446 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00681/0.6559, allocations: 4.304 MB / 0.6488 GB, free: 7.207 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6559, allocations: 0 / 0.6488 GB, free: 7.207 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.6577, allocations: 1.231 MB / 0.65 GB, free: 5.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.66, allocations: 397.9 kB / 0.6504 GB, free: 5.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/0.6756, allocations: 7.932 MB / 0.6582 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004256/0.6799, allocations: 3.034 MB / 0.6611 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003868/0.6838, allocations: 1.704 MB / 0.6628 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000732/0.6845, allocations: 219.4 kB / 0.663 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.6845, allocations: 2.625 kB / 0.663 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of Templates: time 0.05157/0.7361, allocations: 25.29 MB / 0.6877 GB, free: 15.58 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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