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.001284/0.001284, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001442/0.001442, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.417/1.417, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2261/0.2261, allocations: 46.95 MB / 360.8 MB, free: 3.918 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.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 79.88 kB / 0.4962 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.301, allocations: 66.08 MB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01193/0.313, allocations: 8.394 MB / 0.5689 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005916/0.3189, allocations: 2.788 MB / 0.5716 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008863/0.3198, allocations: 55.81 kB / 0.5717 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.3237, allocations: 1.947 MB / 0.5736 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.3262, allocations: 1.133 MB / 0.5747 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.3269, allocations: 287.4 kB / 0.5749 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002976/0.3298, allocations: 2.325 MB / 0.5772 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.3321, allocations: 1.738 MB / 0.5789 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.3331, allocations: 0.8918 MB / 0.5798 GB, free: 340 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.3347, allocations: 1.172 MB / 0.5809 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003218/0.335, allocations: 203.9 kB / 0.5811 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.3361, allocations: 0.6045 MB / 0.5817 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.3375, allocations: 1.137 MB / 0.5828 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.3385, allocations: 0.9432 MB / 0.5837 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004754/0.3432, allocations: 4.338 MB / 0.588 GB, free: 7.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3432, allocations: 3.984 kB / 0.588 GB, free: 7.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3433, allocations: 0 / 0.588 GB, free: 7.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.809e-05/0.3433, allocations: 0 / 0.588 GB, free: 7.902 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.004781/0.3481, allocations: 2.866 MB / 0.5908 GB, free: 4.992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3482, allocations: 12.03 kB / 0.5908 GB, free: 4.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005525/0.3487, allocations: 487 kB / 0.5913 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00497/0.3537, allocations: 1.574 MB / 0.5928 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.3565, allocations: 1.279 MB / 0.594 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.3566, allocations: 151.8 kB / 0.5942 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003371/0.3569, allocations: 183.9 kB / 0.5944 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009542/0.3665, allocations: 6.254 MB / 0.6005 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.912e-05/0.3665, allocations: 11.88 kB / 0.6005 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.3667, allocations: 87.91 kB / 0.6006 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002136/0.3689, allocations: 1.34 MB / 0.6019 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.3801, allocations: 5.33 MB / 0.6071 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02718/0.4073, allocations: 19.05 MB / 0.6257 GB, free: 348 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003945/0.4112, allocations: 1.485 MB / 0.6271 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009794/0.4122, allocations: 0.6424 MB / 0.6278 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006784/0.419, allocations: 3.02 MB / 0.6307 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.419, allocations: 35 kB / 0.6307 GB, free: 11.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.945e-06/0.419, allocations: 0 / 0.6307 GB, free: 11.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005332/0.4244, allocations: 1.994 MB / 0.6327 GB, free: 9.094 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.4244, allocations: 63.77 kB / 0.6328 GB, free: 9.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002704/0.4271, allocations: 2.05 MB / 0.6348 GB, free: 6.965 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.4272, allocations: 29.7 kB / 0.6348 GB, free: 6.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.4286, allocations: 1.919 MB / 0.6367 GB, free: 4.988 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.4289, allocations: 321.5 kB / 0.637 GB, free: 4.672 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007685/0.4297, allocations: 0.6273 MB / 0.6376 GB, free: 4.035 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.4299, allocations: 357.9 kB / 0.6379 GB, free: 3.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.4312, allocations: 0.8842 MB / 0.6388 GB, free: 2.793 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002962/0.4342, allocations: 2.751 MB / 0.6415 GB, free: 15.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004959/0.4391, allocations: 3.964 MB / 0.6453 GB, free: 10.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.523e-05/0.4392, allocations: 20 kB / 0.6454 GB, free: 10.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006381/0.4456, allocations: 3.535 MB / 0.6488 GB, free: 6.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.997e-05/0.4456, allocations: 35.94 kB / 0.6488 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/0.4458, allocations: 68 kB / 0.6489 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.4459, allocations: 91.94 kB / 0.649 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/0.4479, allocations: 0.6511 MB / 0.6496 GB, free: 5.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001197/0.448, allocations: 131.5 kB / 0.6498 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.4499, allocations: 421.3 kB / 0.6502 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/0.4502, allocations: 196 kB / 0.6503 GB, free: 5.082 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.002/0.4522, allocations: 1.342 MB / 0.6517 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/0.4524, allocations: 166.9 kB / 0.6518 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.4528, allocations: 196.8 kB / 0.652 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.4528, allocations: 8 kB / 0.652 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.4528, allocations: 8 kB / 0.652 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.4528, allocations: 7.922 kB / 0.652 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006713/0.4595, allocations: 3.911 MB / 0.6558 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.4595, allocations: 7.984 kB / 0.6559 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.4599, allocations: 103.8 kB / 0.656 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.46, allocations: 8 kB / 0.656 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.46, allocations: 23.98 kB / 0.656 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.46, allocations: 12.5 kB / 0.656 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.46, allocations: 11.94 kB / 0.656 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.4616, allocations: 1.267 MB / 0.6572 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/0.462, allocations: 182.6 kB / 0.6574 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.4622, allocations: 19.98 kB / 0.6574 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/0.4626, allocations: 27.92 kB / 0.6575 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/0.4627, allocations: 59.8 kB / 0.6575 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/0.4628, allocations: 31.98 kB / 0.6575 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001834/0.4646, allocations: 1.271 MB / 0.6588 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4646, allocations: 4 kB / 0.6588 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002483/0.4671, allocations: 0.6891 MB / 0.6595 GB, free: 11.48 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.002167/0.4693, allocations: 1.869 MB / 0.6613 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003266/0.4725, allocations: 1.966 MB / 0.6632 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4725, allocations: 0 / 0.6632 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.4731, allocations: 437.5 kB / 0.6636 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.4743, allocations: 232.8 kB / 0.6639 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02957/0.5039, allocations: 20.94 MB / 0.6843 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002446/0.5063, allocations: 1.712 MB / 0.686 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002104/0.5084, allocations: 0.9558 MB / 0.6869 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/0.5098, allocations: 1.042 MB / 0.6879 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/0.5098, allocations: 0 / 0.6879 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07116/0.581, allocations: 32.9 MB / 0.7201 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.06, allocations: 8.062 kB / 0.7201 GB, free: 11.08 MB / 0.5606 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] 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: 16.345776067115366]