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.001543/0.001543, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001713, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.57/2.57, allocations: 227.4 MB / 246.9 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4437/0.4437, allocations: 46.12 MB / 344.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 76.84 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2049, allocations: 62.45 MB / 479.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.4617/0.6667, allocations: 40.71 MB / 0.5084 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0347/0.7015, allocations: 9.022 MB / 0.5173 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01504/0.7166, allocations: 167 kB / 0.5174 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01043/0.7272, allocations: 2.759 MB / 0.5201 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009384/0.7366, allocations: 1.512 MB / 0.5216 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.74, allocations: 0.6575 MB / 0.5222 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01326/0.7533, allocations: 5.644 MB / 0.5277 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009073/0.7624, allocations: 3.627 MB / 0.5313 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0041/0.7666, allocations: 1.24 MB / 0.5325 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004978/0.7716, allocations: 2.029 MB / 0.5345 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001773/0.7734, allocations: 224.9 kB / 0.5347 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004702/0.7782, allocations: 1.154 MB / 0.5358 GB, free: 2.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003827/0.7821, allocations: 1.69 MB / 0.5375 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004503/0.7866, allocations: 1.932 MB / 0.5394 GB, free: 424 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.7979, allocations: 5.25 MB / 0.5445 GB, free: 13.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.7979, allocations: 0 / 0.5445 GB, free: 13.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.644e-06/0.798, allocations: 3.984 kB / 0.5445 GB, free: 13.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003335/0.7983, allocations: 0 / 0.5445 GB, free: 13.03 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.01977/0.8181, allocations: 4.336 MB / 0.5487 GB, free: 8.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.017e-05/0.8182, allocations: 8.875 kB / 0.5487 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02748/0.8457, allocations: 2.437 MB / 0.5511 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.8564, allocations: 2.423 MB / 0.5535 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004129/0.8568, allocations: 221.3 kB / 0.5537 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002349/0.8592, allocations: 291.8 kB / 0.554 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03082/0.8901, allocations: 8.726 MB / 0.5625 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002777/0.8904, allocations: 39.66 kB / 0.5625 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/0.8921, allocations: 139.2 kB / 0.5627 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005202/0.8973, allocations: 1.656 MB / 0.5643 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02684/0.9242, allocations: 7.218 MB / 0.5713 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08464/1.009, allocations: 33.57 MB / 0.6041 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009471/1.018, allocations: 2.449 MB / 0.6065 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003973/1.022, allocations: 1.28 MB / 0.6077 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008079/1.023, allocations: 325 kB / 0.6081 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.08e-05/1.023, allocations: 51.12 kB / 0.6081 GB, free: 10.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 8.336e-06/1.024, allocations: 3.938 kB / 0.6081 GB, free: 10.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.06326/1.087, allocations: 11.45 MB / 0.6193 GB, free: 14.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002013/1.087, allocations: 192.6 kB / 0.6195 GB, free: 14.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01362/1.101, allocations: 3.573 MB / 0.623 GB, free: 10.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005342/1.101, allocations: 41.7 kB / 0.623 GB, free: 10.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004473/1.106, allocations: 2.826 MB / 0.6258 GB, free: 8.082 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001765/1.108, allocations: 0.5584 MB / 0.6263 GB, free: 7.527 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007368/1.115, allocations: 1.101 MB / 0.6274 GB, free: 6.418 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/1.115, allocations: 305.1 kB / 0.6277 GB, free: 6.117 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007292/1.123, allocations: 1.81 MB / 0.6294 GB, free: 4.301 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01313/1.136, allocations: 5.182 MB / 0.6345 GB, free: 13.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01988/1.156, allocations: 7.52 MB / 0.6418 GB, free: 4.223 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002447/1.156, allocations: 40 kB / 0.6419 GB, free: 4.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.02897/1.185, allocations: 7.223 MB / 0.6489 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003422/1.186, allocations: 56 kB / 0.649 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004101/1.186, allocations: 120 kB / 0.6491 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003645/1.19, allocations: 0.6725 MB / 0.6498 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007965/1.198, allocations: 1.24 MB / 0.651 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.208, allocations: 4.054 MB / 0.6549 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008547/1.217, allocations: 303.6 kB / 0.6552 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001867/1.218, allocations: 332 kB / 0.6555 GB, free: 6.055 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 (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.009543/1.228, allocations: 1.951 MB / 0.6574 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/1.23, allocations: 304 kB / 0.6577 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009328/1.239, allocations: 2.256 MB / 0.6599 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.104e-05/1.239, allocations: 21.78 kB / 0.66 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/1.239, allocations: 4 kB / 0.66 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.986e-05/1.239, allocations: 3.984 kB / 0.66 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02579/1.265, allocations: 6.141 MB / 0.666 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.119e-05/1.265, allocations: 4 kB / 0.666 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/1.268, allocations: 215.7 kB / 0.6662 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002751/1.27, allocations: 0.5041 MB / 0.6667 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004118/1.271, allocations: 27.98 kB / 0.6667 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008356/1.279, allocations: 3.629 MB / 0.6702 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/1.279, allocations: 0 / 0.6702 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/1.293, allocations: 4.397 MB / 0.6745 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/1.295, allocations: 357 kB / 0.6749 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/1.297, allocations: 22.58 kB / 0.6749 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003224/1.3, allocations: 79.97 kB / 0.675 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006725/1.301, allocations: 100.4 kB / 0.6751 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/1.301, allocations: 35.98 kB / 0.6751 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.008194/1.309, allocations: 2.233 MB / 0.6773 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.162e-06/1.309, allocations: 0 / 0.6773 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01043/1.32, allocations: 0.8476 MB / 0.6781 GB, free: 14.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.001053/1.321, allocations: 150.3 kB / 0.6783 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.335, allocations: 4.287 MB / 0.6824 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.335, allocations: 192 / 0.6824 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00433/1.339, allocations: 1.234 MB / 0.6836 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005835/1.345, allocations: 372.4 kB / 0.684 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03382/1.379, allocations: 10.19 MB / 0.694 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009534/1.389, allocations: 3.027 MB / 0.6969 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/1.39, allocations: 255.4 kB / 0.6972 GB, free: 11.13 MB / 0.545 GB Notification: Performance of SimCode: time 1.573e-06/1.39, allocations: 0 / 0.6972 GB, free: 11.13 MB / 0.545 GB Notification: Performance of Templates: time 0.5343/1.925, allocations: 67.06 MB / 0.7626 GB, free: 156.5 MB / 0.545 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/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