Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001425/0.001425, allocations: 84.94 kB / 20.68 MB, free: 1.023 MB / 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.001626/0.001626, allocations: 167.9 kB / 23.96 MB, free: 4.152 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.463/1.463, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.2309/0.2309, allocations: 34.29 MB / 295 MB, free: 14.56 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.772e-05, allocations: 2.281 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.2011/0.2011, allocations: 8.404 MB / 451.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006093/0.2072, allocations: 2.791 MB / 453.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.209, allocations: 56.34 kB / 453.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004485/0.2134, allocations: 2.045 MB / 456 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.2168, allocations: 1.169 MB / 457.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009678/0.2178, allocations: 318.6 kB / 457.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003722/0.2215, allocations: 2.363 MB / 459.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003013/0.2245, allocations: 1.748 MB / 461.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002842/0.2274, allocations: 1.286 MB / 462.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.2298, allocations: 1.141 MB / 464 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007394/0.2305, allocations: 194.1 kB / 464.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.2324, allocations: 0.6395 MB / 464.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.2343, allocations: 1.18 MB / 466 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002029/0.2364, allocations: 0.7109 MB / 466.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006008/0.2424, allocations: 4.284 MB / 471 MB, free: 5.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2424, allocations: 0 / 471 MB, free: 5.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2424, allocations: 6.562 kB / 471 MB, free: 5.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001832/0.2426, allocations: 0 / 471 MB, free: 5.922 MB / 366.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.006912/0.2495, allocations: 2.832 MB / 473.8 MB, free: 3.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2495, allocations: 9.281 kB / 473.8 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/0.2551, allocations: 1.594 MB / 475.4 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/0.2581, allocations: 1.28 MB / 476.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.2582, allocations: 143.6 kB / 476.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004242/0.2586, allocations: 192.4 kB / 477 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.2687, allocations: 6.253 MB / 483.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/0.2688, allocations: 20.89 kB / 483.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/0.2691, allocations: 83.91 kB / 483.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002396/0.2715, allocations: 1.34 MB / 484.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.2834, allocations: 5.339 MB / 490.1 MB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03283/0.3162, allocations: 18.35 MB / 0.4965 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004507/0.3207, allocations: 1.575 MB / 0.498 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.3219, allocations: 0.646 MB / 0.4987 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007303/0.3292, allocations: 3.095 MB / 0.5017 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.3292, allocations: 39 kB / 0.5017 GB, free: 13.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.416e-06/0.3292, allocations: 4 kB / 0.5017 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.006253/0.3355, allocations: 2.108 MB / 0.5038 GB, free: 11.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.3356, allocations: 59.91 kB / 0.5039 GB, free: 11.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003558/0.3391, allocations: 1.931 MB / 0.5057 GB, free: 9.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.3392, allocations: 45.69 kB / 0.5058 GB, free: 9.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001663/0.3408, allocations: 1.903 MB / 0.5076 GB, free: 7.879 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.3412, allocations: 321.5 kB / 0.5079 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009909/0.3422, allocations: 0.6117 MB / 0.5085 GB, free: 6.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.3424, allocations: 349.9 kB / 0.5089 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.3439, allocations: 0.8881 MB / 0.5097 GB, free: 5.703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003251/0.3472, allocations: 2.751 MB / 0.5124 GB, free: 2.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005073/0.3523, allocations: 3.968 MB / 0.5163 GB, free: 13.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.03e-05/0.3523, allocations: 20 kB / 0.5163 GB, free: 13.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006109/0.3584, allocations: 3.523 MB / 0.5198 GB, free: 9.574 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.3585, allocations: 36 kB / 0.5198 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-05/0.3586, allocations: 64.91 kB / 0.5199 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.3587, allocations: 88 kB / 0.5199 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/0.3608, allocations: 0.6597 MB / 0.5206 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001305/0.3609, allocations: 131.5 kB / 0.5207 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.3629, allocations: 416.9 kB / 0.5211 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002897/0.3632, allocations: 188 kB / 0.5213 GB, free: 8.008 MB / 430.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 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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.002313/0.3655, allocations: 1.342 MB / 0.5226 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.3659, allocations: 162.9 kB / 0.5228 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.3662, allocations: 184 kB / 0.5229 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/0.3663, allocations: 11.98 kB / 0.5229 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3663, allocations: 0.875 kB / 0.5229 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.3663, allocations: 3.984 kB / 0.523 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006334/0.3726, allocations: 3.086 MB / 0.526 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.3726, allocations: 4.844 kB / 0.526 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.3731, allocations: 99.83 kB / 0.5261 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/0.3731, allocations: 12 kB / 0.5261 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.3731, allocations: 27.3 kB / 0.5261 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/0.3732, allocations: 11.94 kB / 0.5261 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.961e-05/0.3732, allocations: 15.88 kB / 0.5261 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.375, allocations: 1.246 MB / 0.5273 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/0.3754, allocations: 158.7 kB / 0.5275 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.3756, allocations: 27.98 kB / 0.5275 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005568/0.3762, allocations: 23.97 kB / 0.5275 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3763, allocations: 63.69 kB / 0.5276 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.3764, allocations: 28 kB / 0.5276 GB, free: 1.266 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001905/0.3783, allocations: 1.118 MB / 0.5287 GB, free: 156 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3783, allocations: 0 / 0.5287 GB, free: 156 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.003214/0.3815, allocations: 0.7045 MB / 0.5294 GB, free: 15.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0004185/0.3819, allocations: 146.9 kB / 0.5296 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003423/0.3854, allocations: 1.957 MB / 0.5315 GB, free: 13.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.3854, allocations: 0 / 0.5315 GB, free: 13.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006184/0.386, allocations: 437.8 kB / 0.5319 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.3872, allocations: 189.1 kB / 0.5321 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.3976, allocations: 5.073 MB / 0.537 GB, free: 7.555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00297/0.4006, allocations: 1.711 MB / 0.5387 GB, free: 5.805 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002304/0.4029, allocations: 0.9467 MB / 0.5396 GB, free: 4.852 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.4032, allocations: 112.5 kB / 0.5397 GB, free: 4.742 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4032, allocations: 4 kB / 0.5397 GB, free: 4.738 MB / 446.1 MB Notification: Performance of Templates: time 0.02979/0.433, allocations: 11.54 MB / 0.551 GB, free: 9.395 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.509204283356667]