Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 169.9 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 177.2 MB / 204.9 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2383/0.2383, allocations: 34.27 MB / 295.5 MB, free: 14.61 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 63.89 kB / 443.1 MB, free: 6.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3143, allocations: 66.01 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.007268/0.3216, allocations: 8.415 MB / 0.5054 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004367/0.326, allocations: 2.781 MB / 0.5081 GB, free: 22.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005883/0.3266, allocations: 56.62 kB / 0.5082 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002844/0.3294, allocations: 1.941 MB / 0.5101 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.3312, allocations: 1.129 MB / 0.5112 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.3318, allocations: 296.7 kB / 0.5115 GB, free: 21.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002538/0.3343, allocations: 2.324 MB / 0.5138 GB, free: 20.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.3363, allocations: 1.732 MB / 0.5154 GB, free: 19.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.3375, allocations: 0.8924 MB / 0.5163 GB, free: 19.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.339, allocations: 1.176 MB / 0.5175 GB, free: 18.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.3394, allocations: 194.6 kB / 0.5176 GB, free: 18.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.3406, allocations: 0.6043 MB / 0.5182 GB, free: 18.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.3417, allocations: 1.142 MB / 0.5194 GB, free: 18.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009801/0.3427, allocations: 0.9454 MB / 0.5203 GB, free: 17.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005849/0.3485, allocations: 4.344 MB / 0.5245 GB, free: 15.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3485, allocations: 0 / 0.5245 GB, free: 15.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3485, allocations: 5.188 kB / 0.5245 GB, free: 15.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001225/0.3486, allocations: 0 / 0.5245 GB, free: 15.98 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005737/0.3544, allocations: 2.859 MB / 0.5273 GB, free: 14.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3544, allocations: 9.641 kB / 0.5273 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005372/0.3598, allocations: 1.59 MB / 0.5289 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/0.3624, allocations: 1.286 MB / 0.5301 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.363e-05/0.3625, allocations: 144.1 kB / 0.5303 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.3628, allocations: 192.4 kB / 0.5305 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.3729, allocations: 6.263 MB / 0.5366 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.235e-05/0.3729, allocations: 12.56 kB / 0.5366 GB, free: 9.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.3732, allocations: 87 kB / 0.5367 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001943/0.3751, allocations: 1.341 MB / 0.538 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009365/0.3845, allocations: 5.335 MB / 0.5432 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0233/0.4078, allocations: 18.36 MB / 0.5611 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/0.4121, allocations: 1.641 MB / 0.5627 GB, free: 1.719 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.4131, allocations: 0.6371 MB / 0.5633 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006121/0.4192, allocations: 2.972 MB / 0.5662 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.4193, allocations: 39.06 kB / 0.5663 GB, free: 14.03 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.657e-06/0.4193, allocations: 4 kB / 0.5663 GB, free: 14.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005615/0.4249, allocations: 2.104 MB / 0.5683 GB, free: 11.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.4249, allocations: 55.91 kB / 0.5684 GB, free: 11.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/0.4283, allocations: 1.935 MB / 0.5703 GB, free: 9.898 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.157e-05/0.4284, allocations: 37.69 kB / 0.5703 GB, free: 9.855 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.43, allocations: 1.915 MB / 0.5722 GB, free: 7.918 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/0.4304, allocations: 333.5 kB / 0.5725 GB, free: 7.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000945/0.4313, allocations: 0.6195 MB / 0.5731 GB, free: 6.961 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4315, allocations: 353.9 kB / 0.5734 GB, free: 6.609 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.433, allocations: 0.8842 MB / 0.5743 GB, free: 5.723 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/0.4361, allocations: 2.751 MB / 0.577 GB, free: 2.039 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00524/0.4414, allocations: 3.973 MB / 0.5809 GB, free: 13.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.584e-05/0.4415, allocations: 20 kB / 0.5809 GB, free: 13.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006494/0.4479, allocations: 3.528 MB / 0.5843 GB, free: 9.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.243e-05/0.448, allocations: 36 kB / 0.5844 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.932e-05/0.4481, allocations: 64 kB / 0.5844 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.4482, allocations: 88 kB / 0.5845 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002062/0.4503, allocations: 0.6511 MB / 0.5852 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001291/0.4504, allocations: 132 kB / 0.5853 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.4524, allocations: 417 kB / 0.5857 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/0.4527, allocations: 188 kB / 0.5859 GB, free: 8.023 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002259/0.455, allocations: 1.35 MB / 0.5872 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.4553, allocations: 158.9 kB / 0.5873 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.4556, allocations: 188 kB / 0.5875 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.4557, allocations: 8 kB / 0.5875 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.4557, allocations: 8 kB / 0.5875 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.4557, allocations: 3.984 kB / 0.5875 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006394/0.4621, allocations: 3.127 MB / 0.5906 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.4621, allocations: 4 kB / 0.5906 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.4625, allocations: 103.8 kB / 0.5907 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.536e-05/0.4625, allocations: 8.75 kB / 0.5907 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.4626, allocations: 15.98 kB / 0.5907 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.632e-05/0.4626, allocations: 19.92 kB / 0.5907 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.4626, allocations: 11.94 kB / 0.5907 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.4642, allocations: 1.222 MB / 0.5919 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.4645, allocations: 158.7 kB / 0.5921 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.4647, allocations: 16 kB / 0.5921 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/0.4652, allocations: 35.95 kB / 0.5921 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.4653, allocations: 51.75 kB / 0.5922 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.4654, allocations: 35.94 kB / 0.5922 GB, free: 1.297 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001747/0.4672, allocations: 1.118 MB / 0.5933 GB, free: 188 kB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4672, allocations: 0 / 0.5933 GB, free: 188 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.002743/0.4699, allocations: 0.6968 MB / 0.594 GB, free: 15.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * 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 (54): * Single equations (assignments): 51 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003234/0.4702, allocations: 146.9 kB / 0.5941 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003261/0.4735, allocations: 1.953 MB / 0.596 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4735, allocations: 0 / 0.596 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006227/0.4741, allocations: 436.2 kB / 0.5964 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.4752, allocations: 192 kB / 0.5966 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009669/0.4849, allocations: 5.061 MB / 0.6016 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002397/0.4873, allocations: 1.704 MB / 0.6032 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00212/0.4894, allocations: 0.9272 MB / 0.6041 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.4897, allocations: 124.4 kB / 0.6043 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.4897, allocations: 0 / 0.6043 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of Templates: time 0.02719/0.5169, allocations: 11.64 MB / 0.6156 GB, free: 9.355 MB / 0.5138 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.477297532022931]