Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001226/0.001226, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 46.93 MB / 361.5 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] 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.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 80.11 kB / 0.4974 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2952, allocations: 66.07 MB / 0.5619 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01081/0.306, allocations: 9.598 MB / 0.5713 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005496/0.3115, allocations: 2.963 MB / 0.5742 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006345/0.3121, allocations: 59.81 kB / 0.5743 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.3156, allocations: 2.025 MB / 0.5762 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.3178, allocations: 1.133 MB / 0.5774 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.3184, allocations: 291.4 kB / 0.5776 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002998/0.3214, allocations: 2.332 MB / 0.5799 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.3237, allocations: 1.734 MB / 0.5816 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.325, allocations: 0.8995 MB / 0.5825 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.3268, allocations: 1.246 MB / 0.5837 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005035/0.3274, allocations: 192 kB / 0.5839 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.3287, allocations: 0.7293 MB / 0.5846 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.33, allocations: 1.137 MB / 0.5857 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.3319, allocations: 1.312 MB / 0.587 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004846/0.3367, allocations: 4.333 MB / 0.5912 GB, free: 6.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3367, allocations: 4 kB / 0.5912 GB, free: 6.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.3367, allocations: 3.938 kB / 0.5912 GB, free: 6.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000127/0.3369, allocations: 0 / 0.5912 GB, free: 6.102 MB / 430.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.005321/0.3422, allocations: 2.859 MB / 0.594 GB, free: 3.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3422, allocations: 12.03 kB / 0.594 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/0.3468, allocations: 1.578 MB / 0.5956 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.3493, allocations: 1.278 MB / 0.5968 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.3495, allocations: 140 kB / 0.597 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.3498, allocations: 195.9 kB / 0.5971 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00834/0.3581, allocations: 6.242 MB / 0.6032 GB, free: 9.449 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/0.3582, allocations: 15.88 kB / 0.6032 GB, free: 9.434 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/0.3584, allocations: 87.91 kB / 0.6033 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001876/0.3602, allocations: 1.344 MB / 0.6046 GB, free: 8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008259/0.3685, allocations: 5.33 MB / 0.6099 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02601/0.3945, allocations: 19.99 MB / 0.6294 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/0.3983, allocations: 1.496 MB / 0.6308 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009293/0.3992, allocations: 0.643 MB / 0.6315 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006488/0.4057, allocations: 3.152 MB / 0.6345 GB, free: 8.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.4057, allocations: 43 kB / 0.6346 GB, free: 8.699 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.757e-06/0.4057, allocations: 0 / 0.6346 GB, free: 8.699 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005343/0.4111, allocations: 1.986 MB / 0.6365 GB, free: 6.703 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.4111, allocations: 67.78 kB / 0.6366 GB, free: 6.625 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003223/0.4144, allocations: 1.938 MB / 0.6385 GB, free: 4.684 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.714e-05/0.4144, allocations: 37.69 kB / 0.6385 GB, free: 4.641 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.4159, allocations: 1.911 MB / 0.6404 GB, free: 2.707 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003199/0.4162, allocations: 329.5 kB / 0.6407 GB, free: 2.383 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008656/0.4171, allocations: 0.6194 MB / 0.6413 GB, free: 1.754 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4173, allocations: 353.9 kB / 0.6416 GB, free: 1.402 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.4186, allocations: 0.8881 MB / 0.6425 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003029/0.4216, allocations: 2.747 MB / 0.6452 GB, free: 12.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004723/0.4263, allocations: 3.976 MB / 0.6491 GB, free: 7.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.158e-05/0.4264, allocations: 20 kB / 0.6491 GB, free: 7.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005697/0.4321, allocations: 3.527 MB / 0.6525 GB, free: 4.379 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.239e-05/0.4322, allocations: 36 kB / 0.6526 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/0.4323, allocations: 67.94 kB / 0.6526 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.862e-05/0.4324, allocations: 88 kB / 0.6527 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.4342, allocations: 0.655 MB / 0.6534 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001199/0.4343, allocations: 131.5 kB / 0.6535 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.4361, allocations: 433.3 kB / 0.6539 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/0.4363, allocations: 184 kB / 0.6541 GB, free: 2.801 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 (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.001907/0.4383, allocations: 1.339 MB / 0.6554 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.4385, allocations: 166.9 kB / 0.6555 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.4389, allocations: 192.9 kB / 0.6557 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.4389, allocations: 19.94 kB / 0.6557 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4389, allocations: 0 / 0.6557 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4389, allocations: 7.969 kB / 0.6557 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006663/0.4456, allocations: 4.005 MB / 0.6597 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.4456, allocations: 8.125 kB / 0.6597 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.446, allocations: 99.83 kB / 0.6598 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.446, allocations: 8 kB / 0.6598 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.446, allocations: 27.92 kB / 0.6598 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.446, allocations: 11.94 kB / 0.6598 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.446, allocations: 8 kB / 0.6598 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.4475, allocations: 1.27 MB / 0.6611 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.4479, allocations: 178.7 kB / 0.6612 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.4481, allocations: 23.97 kB / 0.6612 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/0.4486, allocations: 31.94 kB / 0.6613 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.4487, allocations: 55.8 kB / 0.6613 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.4487, allocations: 31.94 kB / 0.6614 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001786/0.4505, allocations: 1.267 MB / 0.6626 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4505, allocations: 0 / 0.6626 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002256/0.4528, allocations: 0.6891 MB / 0.6633 GB, free: 9.121 MB / 0.4981 GB 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.0003007/0.4531, allocations: 154.8 kB / 0.6634 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002931/0.456, allocations: 1.955 MB / 0.6653 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.456, allocations: 0 / 0.6653 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005641/0.4566, allocations: 440 kB / 0.6657 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.4577, allocations: 230.2 kB / 0.666 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009147/0.4668, allocations: 5.44 MB / 0.6713 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002745/0.4696, allocations: 2.279 MB / 0.6735 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.47, allocations: 143.4 kB / 0.6736 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of SimCode: time 8.22e-07/0.47, allocations: 4 kB / 0.6736 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.04694/0.5169, allocations: 30.3 MB / 0.7032 GB, free: 100 kB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.049667664105073]