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.0008387/0.0008387, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007981/0.0007981, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8535/0.8535, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 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.2158/0.2158, allocations: 34.24 MB / 294.8 MB, free: 0.6641 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 442.1 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.303e-05, allocations: 2.281 kB / 442.1 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.1602/0.1602, allocations: 8.413 MB / 450.6 MB, free: 39.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.1636, allocations: 2.78 MB / 453.3 MB, free: 37.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006127/0.1642, allocations: 58.41 kB / 453.4 MB, free: 37.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.166, allocations: 2.041 MB / 455.4 MB, free: 37.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.1672, allocations: 1.171 MB / 456.6 MB, free: 36.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.1676, allocations: 308.6 kB / 456.9 MB, free: 36.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.169, allocations: 2.369 MB / 459.3 MB, free: 35.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.17, allocations: 1.755 MB / 461 MB, free: 34.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007052/0.1707, allocations: 1.277 MB / 462.3 MB, free: 34.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006654/0.1714, allocations: 1.143 MB / 463.5 MB, free: 33.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.1715, allocations: 193.4 kB / 463.6 MB, free: 33.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000514/0.172, allocations: 0.6438 MB / 464.3 MB, free: 33.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004493/0.1725, allocations: 1.177 MB / 465.5 MB, free: 33.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003674/0.1728, allocations: 0.7116 MB / 466.2 MB, free: 32.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.1748, allocations: 4.288 MB / 470.5 MB, free: 31.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1748, allocations: 0 / 470.5 MB, free: 31.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1748, allocations: 0 / 470.5 MB, free: 31.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.921e-05/0.1748, allocations: 4 kB / 470.5 MB, free: 31.39 MB / 410.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.002303/0.1771, allocations: 2.837 MB / 473.3 MB, free: 29.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1772, allocations: 9.75 kB / 473.3 MB, free: 29.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000282/0.1775, allocations: 478.3 kB / 473.8 MB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.1798, allocations: 1.595 MB / 475.4 MB, free: 29.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.181, allocations: 1.282 MB / 476.7 MB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-05/0.181, allocations: 141.9 kB / 476.8 MB, free: 28.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.1812, allocations: 189.1 kB / 477 MB, free: 28.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005339/0.1865, allocations: 6.255 MB / 483.2 MB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/0.1866, allocations: 13.31 kB / 483.2 MB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.1868, allocations: 86.97 kB / 483.3 MB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001823/0.1886, allocations: 1.344 MB / 484.7 MB, free: 25.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007645/0.1962, allocations: 5.341 MB / 490 MB, free: 23.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/0.2105, allocations: 19.12 MB / 0.4972 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/0.2127, allocations: 1.573 MB / 0.4987 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.2132, allocations: 0.6326 MB / 0.4994 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002813/0.216, allocations: 3.129 MB / 0.5024 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.216, allocations: 35.81 kB / 0.5024 GB, free: 7.508 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.294e-06/0.216, allocations: 4 kB / 0.5025 GB, free: 7.504 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002593/0.2186, allocations: 2.119 MB / 0.5045 GB, free: 5.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.2186, allocations: 55.91 kB / 0.5046 GB, free: 5.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.2198, allocations: 2.046 MB / 0.5066 GB, free: 3.262 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.2198, allocations: 45.69 kB / 0.5066 GB, free: 3.211 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.2202, allocations: 1.895 MB / 0.5085 GB, free: 1.293 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.2204, allocations: 321.6 kB / 0.5088 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003788/0.2207, allocations: 0.6125 MB / 0.5094 GB, free: 364 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.2208, allocations: 357.9 kB / 0.5097 GB, free: 0 / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007942/0.2216, allocations: 0.8842 MB / 0.5106 GB, free: 15.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.2234, allocations: 2.751 MB / 0.5133 GB, free: 11.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/0.2258, allocations: 3.971 MB / 0.5171 GB, free: 6.531 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.2258, allocations: 20 kB / 0.5172 GB, free: 6.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003139/0.2289, allocations: 3.535 MB / 0.5206 GB, free: 2.969 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.229, allocations: 32 kB / 0.5206 GB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.635e-05/0.229, allocations: 68.91 kB / 0.5207 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.967e-05/0.2291, allocations: 84 kB / 0.5208 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000937/0.23, allocations: 0.6589 MB / 0.5214 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.875e-05/0.2301, allocations: 127.5 kB / 0.5216 GB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009138/0.231, allocations: 440.7 kB / 0.522 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.2311, allocations: 184 kB / 0.5222 GB, free: 1.391 MB / 426.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.001178/0.2323, allocations: 1.341 MB / 0.5235 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.2324, allocations: 170.9 kB / 0.5236 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.2326, allocations: 196.9 kB / 0.5238 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.2326, allocations: 11.98 kB / 0.5238 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.2326, allocations: 0 / 0.5238 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2326, allocations: 3.984 kB / 0.5238 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00397/0.2366, allocations: 3.936 MB / 0.5277 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2366, allocations: 4.844 kB / 0.5277 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.2368, allocations: 99.77 kB / 0.5278 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.2368, allocations: 16 kB / 0.5278 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.2368, allocations: 27.92 kB / 0.5278 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.2368, allocations: 11.94 kB / 0.5278 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/0.2368, allocations: 11.94 kB / 0.5278 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/0.2377, allocations: 1.248 MB / 0.5291 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.2378, allocations: 178.6 kB / 0.5292 GB, free: 9.879 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.568e-05/0.2379, allocations: 19.92 kB / 0.5292 GB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.2382, allocations: 31.98 kB / 0.5293 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.2382, allocations: 59.73 kB / 0.5293 GB, free: 9.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.2383, allocations: 32 kB / 0.5294 GB, free: 9.738 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001016/0.2393, allocations: 1.267 MB / 0.5306 GB, free: 8.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2393, allocations: 0 / 0.5306 GB, free: 8.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001306/0.2406, allocations: 0.6891 MB / 0.5313 GB, free: 7.789 MB / 442.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.001496/0.2421, allocations: 1.873 MB / 0.5331 GB, free: 5.812 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.2436, allocations: 1.958 MB / 0.535 GB, free: 3.871 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2436, allocations: 2 kB / 0.535 GB, free: 3.871 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.2439, allocations: 433.4 kB / 0.5354 GB, free: 3.449 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.2446, allocations: 243.9 kB / 0.5357 GB, free: 3.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.2602, allocations: 20.84 MB / 0.556 GB, free: 11.85 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.2615, allocations: 1.708 MB / 0.5577 GB, free: 10.11 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001385/0.2629, allocations: 0.9574 MB / 0.5586 GB, free: 9.145 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008001/0.2637, allocations: 1.039 MB / 0.5596 GB, free: 8.105 MB / 474.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2637, allocations: 0 / 0.5596 GB, free: 8.105 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.3009, allocations: 32.97 MB / 0.5918 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/7.856, allocations: 7.062 kB / 0.5918 GB, free: 7.492 MB / 0.4948 GB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/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: 9.881398574449122]