Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.001921/0.001921, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002391/0.002391, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.444/1.444, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2235/0.2235, allocations: 46.95 MB / 361.6 MB, free: 3.945 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 75.89 kB / 0.4969 GB, free: 7.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.333, allocations: 66.08 MB / 0.5614 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01211/0.3451, allocations: 8.347 MB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007219/0.3524, allocations: 2.776 MB / 0.5723 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.3542, allocations: 55.81 kB / 0.5723 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004704/0.3589, allocations: 1.931 MB / 0.5742 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003447/0.3624, allocations: 1.137 MB / 0.5753 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.3634, allocations: 295.4 kB / 0.5756 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00401/0.3674, allocations: 2.329 MB / 0.5779 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003104/0.3705, allocations: 1.738 MB / 0.5796 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.3723, allocations: 0.8879 MB / 0.5805 GB, free: 468 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.3747, allocations: 1.258 MB / 0.5817 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007676/0.3755, allocations: 196 kB / 0.5819 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.3772, allocations: 0.6085 MB / 0.5825 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001703/0.3789, allocations: 1.141 MB / 0.5836 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002089/0.381, allocations: 0.9471 MB / 0.5845 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006187/0.3872, allocations: 4.342 MB / 0.5888 GB, free: 7.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3872, allocations: 0 / 0.5888 GB, free: 7.938 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3872, allocations: 0 / 0.5888 GB, free: 7.938 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001699/0.3873, allocations: 0 / 0.5888 GB, free: 7.938 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.007717/0.395, allocations: 2.866 MB / 0.5915 GB, free: 5.027 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.3951, allocations: 12.03 kB / 0.5916 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001163/0.3952, allocations: 67.94 kB / 0.5916 GB, free: 4.949 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001339/0.3966, allocations: 479.1 kB / 0.5921 GB, free: 4.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005642/0.4022, allocations: 1.582 MB / 0.5936 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003244/0.4054, allocations: 1.286 MB / 0.5949 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.4056, allocations: 147.6 kB / 0.595 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00077/0.4064, allocations: 191.9 kB / 0.5952 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/0.4196, allocations: 6.242 MB / 0.6013 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.153e-05/0.4197, allocations: 15.88 kB / 0.6013 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007302/0.4205, allocations: 87.91 kB / 0.6014 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002446/0.4229, allocations: 1.34 MB / 0.6027 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/0.435, allocations: 5.334 MB / 0.6079 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03171/0.4667, allocations: 19.06 MB / 0.6265 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/0.4711, allocations: 1.481 MB / 0.628 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.4722, allocations: 0.6387 MB / 0.6286 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007303/0.4795, allocations: 3.02 MB / 0.6316 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.4796, allocations: 39 kB / 0.6316 GB, free: 11.05 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.807e-06/0.4796, allocations: 0 / 0.6316 GB, free: 11.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005978/0.4855, allocations: 1.994 MB / 0.6335 GB, free: 9.051 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.4856, allocations: 59.84 kB / 0.6336 GB, free: 8.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/0.4892, allocations: 1.946 MB / 0.6355 GB, free: 7.031 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.4893, allocations: 29.7 kB / 0.6355 GB, free: 6.996 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001691/0.491, allocations: 1.907 MB / 0.6374 GB, free: 5.066 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004966/0.4915, allocations: 333.5 kB / 0.6377 GB, free: 4.738 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.4927, allocations: 0.6156 MB / 0.6383 GB, free: 4.113 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002628/0.493, allocations: 353.9 kB / 0.6386 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.4945, allocations: 0.8881 MB / 0.6395 GB, free: 2.871 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003291/0.4978, allocations: 2.763 MB / 0.6422 GB, free: 15.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005309/0.5031, allocations: 3.96 MB / 0.6461 GB, free: 10.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.518e-05/0.5032, allocations: 20 kB / 0.6461 GB, free: 10.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006814/0.51, allocations: 3.535 MB / 0.6495 GB, free: 6.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.121e-05/0.5101, allocations: 32 kB / 0.6496 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/0.5102, allocations: 71.94 kB / 0.6496 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000114/0.5103, allocations: 91.94 kB / 0.6497 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/0.5124, allocations: 0.6589 MB / 0.6504 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001271/0.5125, allocations: 127.5 kB / 0.6505 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.5146, allocations: 425 kB / 0.6509 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004365/0.5151, allocations: 192 kB / 0.6511 GB, free: 5.148 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.002387/0.5175, allocations: 1.347 MB / 0.6524 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.5178, allocations: 170.9 kB / 0.6526 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004608/0.5182, allocations: 192.8 kB / 0.6527 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/0.5183, allocations: 11.98 kB / 0.6528 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.5183, allocations: 4 kB / 0.6528 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5183, allocations: 0 / 0.6528 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007877/0.5262, allocations: 3.911 MB / 0.6566 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/0.5262, allocations: 4 kB / 0.6566 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.5266, allocations: 107.8 kB / 0.6567 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/0.5266, allocations: 8 kB / 0.6567 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.5267, allocations: 20 kB / 0.6567 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/0.5267, allocations: 8 kB / 0.6567 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/0.5267, allocations: 11.94 kB / 0.6567 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.5284, allocations: 1.278 MB / 0.658 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/0.5288, allocations: 178.6 kB / 0.6582 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.5291, allocations: 20 kB / 0.6582 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000589/0.5297, allocations: 31.92 kB / 0.6582 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.5298, allocations: 55.81 kB / 0.6583 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.686e-05/0.5299, allocations: 31.94 kB / 0.6583 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002354/0.5323, allocations: 1.271 MB / 0.6595 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5323, allocations: 4 kB / 0.6595 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002813/0.5351, allocations: 0.6814 MB / 0.6602 GB, free: 11.56 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.002314/0.5374, allocations: 1.869 MB / 0.662 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003333/0.5407, allocations: 1.964 MB / 0.6639 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.5407, allocations: 4.062 kB / 0.6639 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006369/0.5414, allocations: 431.9 kB / 0.6644 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.5429, allocations: 255.4 kB / 0.6646 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03231/0.5752, allocations: 20.94 MB / 0.6851 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003106/0.5784, allocations: 1.708 MB / 0.6867 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002336/0.5807, allocations: 0.9558 MB / 0.6877 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/0.5825, allocations: 1.046 MB / 0.6887 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of SimCode: time 1.333e-06/0.5825, allocations: 0 / 0.6887 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07095/0.6534, allocations: 34.02 MB / 0.7219 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.05/16.7, allocations: 7.375 kB / 0.7219 GB, free: 10.04 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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: 20.410158063983545]