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.001088/0.001088, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 46.09 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 72.17 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.129, allocations: 62.44 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01053/0.1396, allocations: 9.482 MB / 489.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007491/0.1471, allocations: 3.823 MB / 493.3 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.1486, allocations: 59.81 kB / 493.4 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005272/0.154, allocations: 2.757 MB / 496.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0049/0.1589, allocations: 1.623 MB / 497.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.1608, allocations: 0.7096 MB / 498.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005716/0.1665, allocations: 3.876 MB / 0.4906 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004393/0.171, allocations: 3.686 MB / 0.4942 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002189/0.1732, allocations: 1.402 MB / 0.4955 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/0.1757, allocations: 1.9 MB / 0.4974 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005841/0.1763, allocations: 312 kB / 0.4977 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.1784, allocations: 1.178 MB / 0.4988 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.18, allocations: 1.75 MB / 0.5006 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001941/0.182, allocations: 2.012 MB / 0.5025 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2385/0.4204, allocations: 6.446 MB / 0.5088 GB, free: 21.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.4205, allocations: 1 kB / 0.5088 GB, free: 21.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4205, allocations: 0 / 0.5088 GB, free: 21.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003005/0.4208, allocations: 0 / 0.5088 GB, free: 21.21 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.01461/0.4354, allocations: 4.338 MB / 0.5131 GB, free: 19.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.4355, allocations: 10.16 kB / 0.5131 GB, free: 19.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/0.4525, allocations: 2.44 MB / 0.5154 GB, free: 19.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007707/0.4603, allocations: 2.426 MB / 0.5178 GB, free: 18.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/0.4607, allocations: 217.9 kB / 0.518 GB, free: 18.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001777/0.4625, allocations: 295.1 kB / 0.5183 GB, free: 18.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/0.4784, allocations: 8.727 MB / 0.5268 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.4786, allocations: 44.16 kB / 0.5269 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004029/0.479, allocations: 135.8 kB / 0.527 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002498/0.4815, allocations: 1.655 MB / 0.5286 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.4955, allocations: 7.216 MB / 0.5357 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04293/0.5384, allocations: 33.58 MB / 0.5684 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005044/0.5435, allocations: 2.442 MB / 0.5708 GB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.5453, allocations: 1.288 MB / 0.5721 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003694/0.5457, allocations: 324.8 kB / 0.5724 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.5457, allocations: 44.98 kB / 0.5724 GB, free: 7.211 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 4.468e-06/0.5457, allocations: 3.75 kB / 0.5724 GB, free: 7.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.02821/0.574, allocations: 11.46 MB / 0.5836 GB, free: 11.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.5741, allocations: 200.5 kB / 0.5838 GB, free: 11.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005669/0.5798, allocations: 3.574 MB / 0.5873 GB, free: 7.848 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003985/0.5802, allocations: 41.7 kB / 0.5874 GB, free: 7.801 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002134/0.5823, allocations: 2.824 MB / 0.5901 GB, free: 4.996 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008219/0.5832, allocations: 0.5502 MB / 0.5907 GB, free: 4.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/0.5849, allocations: 1.102 MB / 0.5917 GB, free: 3.336 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.585, allocations: 309.1 kB / 0.592 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/0.5878, allocations: 1.806 MB / 0.5938 GB, free: 1.219 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004828/0.5927, allocations: 5.181 MB / 0.5988 GB, free: 10.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008395/0.6011, allocations: 7.529 MB / 0.6062 GB, free: 1.691 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.811e-05/0.6012, allocations: 36 kB / 0.6062 GB, free: 1.656 MB / 446.1 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01338/0.6146, allocations: 7.224 MB / 0.6133 GB, free: 10.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.064e-05/0.6147, allocations: 56 kB / 0.6133 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001488/0.6148, allocations: 120 kB / 0.6135 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/0.6166, allocations: 0.676 MB / 0.6141 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003897/0.6205, allocations: 1.244 MB / 0.6153 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005238/0.6257, allocations: 4.344 MB / 0.6196 GB, free: 4.051 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004355/0.6301, allocations: 305 kB / 0.6199 GB, free: 3.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007494/0.6309, allocations: 332 kB / 0.6202 GB, free: 3.43 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.00366/0.6345, allocations: 1.955 MB / 0.6221 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006821/0.6352, allocations: 296.2 kB / 0.6224 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/0.6397, allocations: 2.248 MB / 0.6246 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/0.6397, allocations: 19.98 kB / 0.6246 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.6397, allocations: 4 kB / 0.6246 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.6397, allocations: 3.984 kB / 0.6246 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.6519, allocations: 6.149 MB / 0.6306 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.652, allocations: 2.188 kB / 0.6306 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.653, allocations: 211.7 kB / 0.6308 GB, free: 8.484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/0.6544, allocations: 0.5057 MB / 0.6313 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.6545, allocations: 27.98 kB / 0.6313 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/0.659, allocations: 3.924 MB / 0.6352 GB, free: 3.895 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.659, allocations: 3.938 kB / 0.6352 GB, free: 3.891 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006821/0.6658, allocations: 4.397 MB / 0.6395 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.6669, allocations: 353 kB / 0.6398 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000365/0.6673, allocations: 28.06 kB / 0.6398 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.6685, allocations: 71.91 kB / 0.6399 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/0.6688, allocations: 105.5 kB / 0.64 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.6689, allocations: 43.97 kB / 0.64 GB, free: 14.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003627/0.6725, allocations: 2.229 MB / 0.6422 GB, free: 12.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6725, allocations: 0.75 kB / 0.6422 GB, free: 12.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005371/0.6779, allocations: 0.8476 MB / 0.643 GB, free: 11.79 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.0005316/0.6785, allocations: 151 kB / 0.6432 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009226/0.6877, allocations: 4.797 MB / 0.6479 GB, free: 6.859 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.6877, allocations: 4 kB / 0.6479 GB, free: 6.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.6896, allocations: 1.237 MB / 0.6491 GB, free: 5.609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.6921, allocations: 388.3 kB / 0.6494 GB, free: 5.234 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.7055, allocations: 8.031 MB / 0.6573 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003137/0.7087, allocations: 3.042 MB / 0.6603 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004053/0.7128, allocations: 1.706 MB / 0.6619 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/0.7133, allocations: 211.4 kB / 0.6621 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of SimCode: time 7.02e-07/0.7133, allocations: 0 / 0.6621 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of Templates: time 0.05899/0.7723, allocations: 29.78 MB / 0.6912 GB, free: 10.56 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches