Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0015/0.0015, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.002074/0.002074, allocations: 166.8 kB / 24.99 MB, free: 8.336 MB / 18.57 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2649/0.2649, allocations: 32.81 MB / 294.6 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] 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.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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.609e-05, allocations: 4.844 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.008279/0.008305, allocations: 9.204 MB / 385.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005366/0.01367, allocations: 2.858 MB / 388 MB, free: 8.879 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.01476, allocations: 59.81 kB / 388.1 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002698/0.01746, allocations: 2.134 MB / 390.2 MB, free: 6.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.01972, allocations: 1.175 MB / 391.4 MB, free: 5.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.02029, allocations: 319.2 kB / 391.7 MB, free: 5.188 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002774/0.02306, allocations: 2.367 MB / 394.1 MB, free: 2.816 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.02507, allocations: 1.797 MB / 395.9 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.0273, allocations: 1.298 MB / 397.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.02875, allocations: 1.173 MB / 398.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003514/0.0291, allocations: 192 kB / 398.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009133/0.03002, allocations: 0.6435 MB / 399.2 MB, free: 13.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007676/0.03078, allocations: 1.188 MB / 400.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008522/0.03164, allocations: 0.7163 MB / 401.1 MB, free: 11.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003345/0.03498, allocations: 2.72 MB / 403.8 MB, free: 9.027 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.03499, allocations: 4 kB / 403.8 MB, free: 9.023 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.03499, allocations: 0 / 403.8 MB, free: 9.023 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001496/0.03514, allocations: 0 / 403.8 MB, free: 9.023 MB / 378.7 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.004169/0.03931, allocations: 3.138 MB / 407 MB, free: 5.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.03936, allocations: 8.031 kB / 407 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/0.04293, allocations: 1.871 MB / 408.8 MB, free: 3.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.04466, allocations: 1.227 MB / 410.1 MB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.04474, allocations: 140 kB / 410.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.04497, allocations: 188.3 kB / 410.4 MB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00477/0.04974, allocations: 3.317 MB / 413.7 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/0.04978, allocations: 11.88 kB / 413.7 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.04996, allocations: 87.91 kB / 413.8 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001245/0.0512, allocations: 1.344 MB / 415.1 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004901/0.0561, allocations: 1.802 MB / 416.9 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01915/0.07525, allocations: 20.62 MB / 437.6 MB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/0.07804, allocations: 0.8918 MB / 438.5 MB, free: 5.219 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/0.07848, allocations: 224.3 kB / 438.7 MB, free: 4.992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004317/0.08279, allocations: 2.58 MB / 441.3 MB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.08283, allocations: 41.89 kB / 441.3 MB, free: 2.336 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 4.348e-06/0.08283, allocations: 0 / 441.3 MB, free: 2.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00386/0.08669, allocations: 1.288 MB / 442.6 MB, free: 1.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.08674, allocations: 55.91 kB / 442.6 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1508/0.2375, allocations: 1.799 MB / 444.4 MB, free: 101.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.2376, allocations: 37.88 kB / 444.5 MB, free: 101.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007018/0.2383, allocations: 2.011 MB / 446.5 MB, free: 100.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.2385, allocations: 338.3 kB / 446.8 MB, free: 100.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/0.239, allocations: 0.6677 MB / 447.5 MB, free: 100.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.875e-05/0.2391, allocations: 0.5227 MB / 448 MB, free: 99.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/0.2395, allocations: 294.1 kB / 448.3 MB, free: 99.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.2406, allocations: 3.05 MB / 451.3 MB, free: 96.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/0.2426, allocations: 3.699 MB / 455 MB, free: 92.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.083e-05/0.2426, allocations: 18.66 kB / 455.1 MB, free: 92.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002643/0.2453, allocations: 2.493 MB / 457.6 MB, free: 91.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.2453, allocations: 34.88 kB / 457.6 MB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.967e-05/0.2453, allocations: 63.66 kB / 457.7 MB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.339e-05/0.2454, allocations: 87.31 kB / 457.7 MB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.2465, allocations: 0.6574 MB / 458.4 MB, free: 91.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.452e-05/0.2466, allocations: 130.2 kB / 458.5 MB, free: 91.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.2478, allocations: 427.2 kB / 458.9 MB, free: 91.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/0.248, allocations: 185.3 kB / 459.1 MB, free: 91.25 MB / 410.7 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.0007012/0.2487, allocations: 404.3 kB / 459.5 MB, free: 90.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.2488, allocations: 178.9 kB / 459.7 MB, free: 90.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.2489, allocations: 155.5 kB / 459.8 MB, free: 90.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.249, allocations: 13.25 kB / 459.9 MB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.249, allocations: 3.141 kB / 459.9 MB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.249, allocations: 7.344 kB / 459.9 MB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.252, allocations: 2.855 MB / 462.7 MB, free: 89.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.252, allocations: 6.375 kB / 462.7 MB, free: 89.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.2523, allocations: 108.5 kB / 462.8 MB, free: 89.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.2523, allocations: 9.812 kB / 462.8 MB, free: 89.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.2523, allocations: 17.75 kB / 462.9 MB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.2523, allocations: 16.95 kB / 462.9 MB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/0.2523, allocations: 7.062 kB / 462.9 MB, free: 89.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.2529, allocations: 0.9048 MB / 463.8 MB, free: 88.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.253, allocations: 157.9 kB / 463.9 MB, free: 88.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.703e-05/0.2531, allocations: 25.92 kB / 464 MB, free: 88.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.2534, allocations: 21.06 kB / 464 MB, free: 88.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.2534, allocations: 60.78 kB / 464 MB, free: 88.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.2535, allocations: 29.5 kB / 464.1 MB, free: 88.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006628/0.2541, allocations: 0.783 MB / 464.9 MB, free: 88 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2541, allocations: 0 / 464.9 MB, free: 88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001578/0.2557, allocations: 0.7017 MB / 465.6 MB, free: 87.76 MB / 410.7 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.0002524/0.2559, allocations: 148.1 kB / 465.7 MB, free: 87.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.2573, allocations: 1.252 MB / 467 MB, free: 87.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.2573, allocations: 0.875 kB / 467 MB, free: 87.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.2575, allocations: 208.9 kB / 467.2 MB, free: 87.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.2582, allocations: 197.3 kB / 467.4 MB, free: 87.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/0.2627, allocations: 4.393 MB / 471.7 MB, free: 84.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.2632, allocations: 0.7626 MB / 472.5 MB, free: 84.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00112/0.2644, allocations: 0.8018 MB / 473.3 MB, free: 84.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.2645, allocations: 121 kB / 473.4 MB, free: 84.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.854e-06/0.2645, allocations: 0 / 473.4 MB, free: 84.3 MB / 410.7 MB Notification: Performance of Templates: time 0.02187/0.2864, allocations: 11.5 MB / 484.9 MB, free: 83 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.691981629934162]