Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 108.3 kB / 18.41 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2007/0.2007, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.5 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1103, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01061/0.121, allocations: 9.781 MB / 480.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006666/0.1277, allocations: 3.847 MB / 484.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009843/0.1287, allocations: 55.88 kB / 484.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004454/0.1331, allocations: 2.784 MB / 487.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.1367, allocations: 1.708 MB / 488.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.1381, allocations: 0.7095 MB / 489.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004538/0.1427, allocations: 3.961 MB / 493.6 MB, free: 6.715 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00363/0.1463, allocations: 3.749 MB / 497.3 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.148, allocations: 1.445 MB / 498.7 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.1503, allocations: 1.959 MB / 0.489 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005676/0.1509, allocations: 328 kB / 0.4893 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.1528, allocations: 1.213 MB / 0.4905 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001478/0.1543, allocations: 1.843 MB / 0.4923 GB, free: 12.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.1562, allocations: 2.121 MB / 0.4943 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006649/0.1629, allocations: 7.019 MB / 0.5012 GB, free: 2.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.1629, allocations: 0 / 0.5012 GB, free: 2.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1629, allocations: 0 / 0.5012 GB, free: 2.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002236/0.1631, allocations: 0 / 0.5012 GB, free: 2.926 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: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.2084/0.3715, allocations: 4.516 MB / 0.5056 GB, free: 46.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3716, allocations: 9.844 kB / 0.5056 GB, free: 46.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/0.3863, allocations: 2.461 MB / 0.508 GB, free: 45.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006872/0.3932, allocations: 2.534 MB / 0.5105 GB, free: 44.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.3935, allocations: 223.3 kB / 0.5107 GB, free: 44.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/0.3946, allocations: 307.3 kB / 0.511 GB, free: 44.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.4082, allocations: 9.297 MB / 0.5201 GB, free: 39.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.4084, allocations: 44.61 kB / 0.5201 GB, free: 39.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003554/0.4087, allocations: 146.7 kB / 0.5203 GB, free: 39.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002385/0.4111, allocations: 1.836 MB / 0.5221 GB, free: 39.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.4223, allocations: 7.679 MB / 0.5295 GB, free: 32.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03188/0.4543, allocations: 34.66 MB / 0.5634 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004816/0.4591, allocations: 2.44 MB / 0.5658 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.4609, allocations: 1.282 MB / 0.567 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/0.4613, allocations: 327.6 kB / 0.5673 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/0.4614, allocations: 51.12 kB / 0.5674 GB, free: 8.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=122): time 4.178e-06/0.4614, allocations: 2.625 kB / 0.5674 GB, free: 8.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.02627/0.4876, allocations: 11.66 MB / 0.5788 GB, free: 12.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/0.4878, allocations: 196.5 kB / 0.579 GB, free: 12.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004196/0.492, allocations: 3.622 MB / 0.5825 GB, free: 8.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001497/0.4921, allocations: 45.7 kB / 0.5826 GB, free: 8.828 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00175/0.4939, allocations: 2.942 MB / 0.5854 GB, free: 5.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004588/0.4944, allocations: 0.5479 MB / 0.586 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.4956, allocations: 1.126 MB / 0.5871 GB, free: 4.156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.4957, allocations: 309.1 kB / 0.5874 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00252/0.4982, allocations: 1.818 MB / 0.5891 GB, free: 2.027 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004562/0.5028, allocations: 5.253 MB / 0.5943 GB, free: 11.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008227/0.511, allocations: 7.616 MB / 0.6017 GB, free: 1.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-05/0.5112, allocations: 32 kB / 0.6017 GB, free: 1.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01179/0.523, allocations: 7.303 MB / 0.6089 GB, free: 10.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.615e-05/0.5231, allocations: 56 kB / 0.6089 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/0.5232, allocations: 124 kB / 0.609 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/0.5248, allocations: 0.6876 MB / 0.6097 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/0.5283, allocations: 1.252 MB / 0.6109 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005086/0.5334, allocations: 4.342 MB / 0.6152 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/0.5369, allocations: 303.6 kB / 0.6155 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004618/0.5373, allocations: 337.2 kB / 0.6158 GB, free: 3.156 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.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 (672): * Single equations (assignments): 668 * 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.002715/0.5401, allocations: 2.049 MB / 0.6178 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004768/0.5406, allocations: 304.1 kB / 0.6181 GB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004058/0.5446, allocations: 2.249 MB / 0.6203 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.5447, allocations: 16 kB / 0.6203 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.5447, allocations: 4 kB / 0.6203 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.5447, allocations: 11.97 kB / 0.6203 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.5555, allocations: 6.271 MB / 0.6264 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.5556, allocations: 7.938 kB / 0.6264 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.5566, allocations: 215.7 kB / 0.6266 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.558, allocations: 0.5112 MB / 0.6271 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.726e-05/0.5581, allocations: 27.98 kB / 0.6272 GB, free: 7.402 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004594/0.5627, allocations: 3.918 MB / 0.631 GB, free: 3.348 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5627, allocations: 0 / 0.631 GB, free: 3.348 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006444/0.5692, allocations: 4.399 MB / 0.6353 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/0.5705, allocations: 353.1 kB / 0.6356 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005758/0.5711, allocations: 27.92 kB / 0.6356 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.5724, allocations: 83.88 kB / 0.6357 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.5727, allocations: 108.4 kB / 0.6358 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.5728, allocations: 39.97 kB / 0.6359 GB, free: 14.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003807/0.5766, allocations: 2.258 MB / 0.6381 GB, free: 12.05 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5766, allocations: 0 / 0.6381 GB, free: 12.05 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004457/0.5811, allocations: 0.8815 MB / 0.6389 GB, free: 11.18 MB / 478.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.0004349/0.5815, allocations: 149.7 kB / 0.6391 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006815/0.5884, allocations: 4.335 MB / 0.6433 GB, free: 6.707 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.5884, allocations: 0 / 0.6433 GB, free: 6.707 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.5901, allocations: 1.232 MB / 0.6445 GB, free: 5.461 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.5923, allocations: 412.3 kB / 0.6449 GB, free: 5.066 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.6051, allocations: 8.253 MB / 0.653 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/0.6085, allocations: 3.164 MB / 0.6561 GB, free: 9.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003522/0.612, allocations: 1.726 MB / 0.6577 GB, free: 7.844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005254/0.6125, allocations: 215.4 kB / 0.6579 GB, free: 7.633 MB / 494.1 MB Notification: Performance of SimCode: time 7.02e-07/0.6125, allocations: 0 / 0.6579 GB, free: 7.633 MB / 494.1 MB Notification: Performance of Templates: time 0.05145/0.664, allocations: 26.04 MB / 0.6834 GB, free: 13.69 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches