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.001773/0.001773, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.002218/0.002218, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.476/1.476, allocations: 230.5 MB / 254.7 MB, free: 15.2 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.2315/0.2315, allocations: 46.92 MB / 357.7 MB, free: 10.21 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003104/0.003104, allocations: 83.88 kB / 0.4916 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.13, allocations: 66.05 MB / 0.5561 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01189/0.1419, allocations: 9.579 MB / 0.5655 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006763/0.1486, allocations: 2.932 MB / 0.5684 GB, free: 9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.15, allocations: 55.81 kB / 0.5684 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004091/0.1541, allocations: 2.017 MB / 0.5704 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.1569, allocations: 1.125 MB / 0.5715 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008943/0.1578, allocations: 287.4 kB / 0.5718 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003431/0.1613, allocations: 2.336 MB / 0.574 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.1639, allocations: 1.914 MB / 0.5759 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.1654, allocations: 0.8917 MB / 0.5768 GB, free: 328 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.1674, allocations: 1.246 MB / 0.578 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005004/0.1679, allocations: 192 kB / 0.5782 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.1693, allocations: 0.7255 MB / 0.5789 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.1705, allocations: 1.145 MB / 0.58 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.1721, allocations: 1.308 MB / 0.5813 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00497/0.1771, allocations: 4.33 MB / 0.5855 GB, free: 7.344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1771, allocations: 0 / 0.5855 GB, free: 7.344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1771, allocations: 0 / 0.5855 GB, free: 7.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001019/0.1772, allocations: 0 / 0.5855 GB, free: 7.344 MB / 446.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.005447/0.1827, allocations: 2.945 MB / 0.5884 GB, free: 4.336 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.1827, allocations: 12.03 kB / 0.5884 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.204e-05/0.1828, allocations: 63.94 kB / 0.5885 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006713/0.1835, allocations: 487.1 kB / 0.5889 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005281/0.1888, allocations: 1.574 MB / 0.5905 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/0.1913, allocations: 1.344 MB / 0.5918 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.1915, allocations: 151.6 kB / 0.5919 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004319/0.1919, allocations: 183.9 kB / 0.5921 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.233/0.4248, allocations: 6.241 MB / 0.5982 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.437e-05/0.4249, allocations: 13.25 kB / 0.5982 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003444/0.4253, allocations: 89 kB / 0.5983 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002462/0.4277, allocations: 1.345 MB / 0.5996 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/0.4399, allocations: 5.331 MB / 0.6048 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02609/0.466, allocations: 20.08 MB / 0.6244 GB, free: 16.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003649/0.4697, allocations: 1.943 MB / 0.6263 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000756/0.4704, allocations: 0.6378 MB / 0.6269 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005459/0.4759, allocations: 3.618 MB / 0.6305 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.4759, allocations: 42.94 kB / 0.6305 GB, free: 12.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.467e-06/0.4759, allocations: 0 / 0.6305 GB, free: 12.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004801/0.4807, allocations: 1.99 MB / 0.6325 GB, free: 10.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.4807, allocations: 59.78 kB / 0.6325 GB, free: 10.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.4828, allocations: 1.945 MB / 0.6344 GB, free: 8.426 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.34e-05/0.4829, allocations: 39.73 kB / 0.6344 GB, free: 8.383 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007767/0.4836, allocations: 1.908 MB / 0.6363 GB, free: 6.602 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.4839, allocations: 327.4 kB / 0.6366 GB, free: 6.285 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006293/0.4845, allocations: 0.6214 MB / 0.6372 GB, free: 5.656 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.4846, allocations: 353.9 kB / 0.6376 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4856, allocations: 0.892 MB / 0.6384 GB, free: 4.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.4873, allocations: 2.747 MB / 0.6411 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004633/0.4919, allocations: 3.967 MB / 0.645 GB, free: 11.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.9e-05/0.492, allocations: 20 kB / 0.645 GB, free: 11.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006994/0.499, allocations: 3.532 MB / 0.6485 GB, free: 8.285 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.975e-05/0.4991, allocations: 33.56 kB / 0.6485 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.42e-05/0.4991, allocations: 71.98 kB / 0.6486 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001007/0.4992, allocations: 88 kB / 0.6486 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.5013, allocations: 0.6517 MB / 0.6493 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001184/0.5015, allocations: 131.5 kB / 0.6494 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/0.5035, allocations: 428.8 kB / 0.6498 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003844/0.5039, allocations: 193.9 kB / 0.65 GB, free: 6.707 MB / 462.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.002368/0.5062, allocations: 1.334 MB / 0.6513 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.5065, allocations: 162.9 kB / 0.6515 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/0.507, allocations: 200.9 kB / 0.6517 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/0.507, allocations: 17.91 kB / 0.6517 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.507, allocations: 0 / 0.6517 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.5071, allocations: 7.984 kB / 0.6517 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007769/0.5148, allocations: 4.032 MB / 0.6556 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5148, allocations: 8 kB / 0.6556 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004485/0.5153, allocations: 103.8 kB / 0.6557 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/0.5153, allocations: 8 kB / 0.6557 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/0.5154, allocations: 16 kB / 0.6557 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.378e-05/0.5154, allocations: 13.61 kB / 0.6558 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.5154, allocations: 11.94 kB / 0.6558 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.5171, allocations: 1.267 MB / 0.657 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/0.5175, allocations: 259.7 kB / 0.6573 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.5178, allocations: 24 kB / 0.6573 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005292/0.5183, allocations: 27.94 kB / 0.6573 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.5184, allocations: 55.75 kB / 0.6574 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.175e-05/0.5185, allocations: 35.92 kB / 0.6574 GB, free: 14.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002065/0.5205, allocations: 1.275 MB / 0.6586 GB, free: 13.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5205, allocations: 0 / 0.6586 GB, free: 13.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00268/0.5232, allocations: 0.6891 MB / 0.6593 GB, free: 12.89 MB / 478.1 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.002252/0.5255, allocations: 1.874 MB / 0.6611 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003265/0.5287, allocations: 1.957 MB / 0.6631 GB, free: 8.977 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.5287, allocations: 0 / 0.6631 GB, free: 8.977 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006327/0.5294, allocations: 434.2 kB / 0.6635 GB, free: 8.555 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.5308, allocations: 242.8 kB / 0.6637 GB, free: 8.332 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03206/0.5628, allocations: 20.95 MB / 0.6842 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00319/0.566, allocations: 2.271 MB / 0.6864 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002298/0.5683, allocations: 0.9594 MB / 0.6873 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/0.57, allocations: 1.042 MB / 0.6883 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of SimCode: time 1.292e-06/0.57, allocations: 0 / 0.6883 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.062/0.632, allocations: 32.84 MB / 0.7204 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.84, allocations: 11.02 kB / 0.7204 GB, free: 11.82 MB / 0.5294 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.39566391799599]