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.001271/0.001271, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001396/0.001396, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.458/1.458, allocations: 230.2 MB / 254.5 MB, free: 15.38 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.2319/0.2319, allocations: 46.9 MB / 357.4 MB, free: 10.5 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.002236/0.002236, allocations: 85.38 kB / 0.4912 GB, free: 26.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1198, allocations: 65.98 MB / 0.5557 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01151/0.1314, allocations: 9.578 MB / 0.565 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006121/0.1375, allocations: 2.944 MB / 0.5679 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.1387, allocations: 51.88 kB / 0.568 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003998/0.1427, allocations: 2.017 MB / 0.5699 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00303/0.1457, allocations: 1.125 MB / 0.571 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009172/0.1467, allocations: 291.4 kB / 0.5713 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004344/0.151, allocations: 2.332 MB / 0.5736 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002936/0.1539, allocations: 1.914 MB / 0.5754 GB, free: 4.758 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.1555, allocations: 0.8723 MB / 0.5763 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.1575, allocations: 1.254 MB / 0.5775 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004417/0.158, allocations: 192 kB / 0.5777 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.1593, allocations: 0.7293 MB / 0.5784 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.1605, allocations: 1.137 MB / 0.5795 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.1621, allocations: 1.308 MB / 0.5808 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005494/0.1676, allocations: 4.33 MB / 0.585 GB, free: 10.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.1676, allocations: 0 / 0.585 GB, free: 10.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1676, allocations: 0 / 0.585 GB, free: 10.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001478/0.1678, allocations: 4 kB / 0.585 GB, free: 10.9 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.006321/0.1741, allocations: 2.949 MB / 0.5879 GB, free: 7.887 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.1741, allocations: 8.031 kB / 0.5879 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00081/0.175, allocations: 483.1 kB / 0.5884 GB, free: 7.398 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/0.18, allocations: 1.578 MB / 0.5899 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/0.1834, allocations: 1.336 MB / 0.5912 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.1836, allocations: 151.7 kB / 0.5914 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00046/0.184, allocations: 183.9 kB / 0.5916 GB, free: 4.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009946/0.194, allocations: 6.254 MB / 0.5977 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.597e-05/0.194, allocations: 15.86 kB / 0.5977 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002439/0.1943, allocations: 91.89 kB / 0.5978 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00203/0.1963, allocations: 1.336 MB / 0.5991 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009838/0.2061, allocations: 5.338 MB / 0.6043 GB, free: 6.777 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2814/0.4875, allocations: 20.06 MB / 0.6239 GB, free: 35.51 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004766/0.4923, allocations: 1.934 MB / 0.6258 GB, free: 34.58 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.4934, allocations: 0.6384 MB / 0.6264 GB, free: 34.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008412/0.5018, allocations: 3.628 MB / 0.6299 GB, free: 32.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.5018, allocations: 39.66 kB / 0.63 GB, free: 32.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.617e-06/0.5019, allocations: 0 / 0.63 GB, free: 32.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.006092/0.5079, allocations: 1.988 MB / 0.6319 GB, free: 32.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.508, allocations: 58 kB / 0.632 GB, free: 32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003742/0.5117, allocations: 1.944 MB / 0.6339 GB, free: 31.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.05e-05/0.5118, allocations: 38.52 kB / 0.6339 GB, free: 31.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.513, allocations: 1.912 MB / 0.6358 GB, free: 30.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.5133, allocations: 325.4 kB / 0.6361 GB, free: 29.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009054/0.5142, allocations: 0.6244 MB / 0.6367 GB, free: 29.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.5143, allocations: 354.8 kB / 0.637 GB, free: 29.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.5156, allocations: 0.8864 MB / 0.6379 GB, free: 28.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.5179, allocations: 2.755 MB / 0.6406 GB, free: 26.13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/0.5213, allocations: 3.968 MB / 0.6445 GB, free: 22.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.567e-05/0.5214, allocations: 21.91 kB / 0.6445 GB, free: 22.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005148/0.5265, allocations: 3.531 MB / 0.6479 GB, free: 21.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.842e-05/0.5266, allocations: 31.44 kB / 0.648 GB, free: 21.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.975e-05/0.5267, allocations: 67 kB / 0.648 GB, free: 21.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.08e-05/0.5267, allocations: 86.53 kB / 0.6481 GB, free: 21.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.5285, allocations: 0.6551 MB / 0.6487 GB, free: 21.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001095/0.5286, allocations: 132.7 kB / 0.6489 GB, free: 21.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.5307, allocations: 434.6 kB / 0.6493 GB, free: 20.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003654/0.531, allocations: 192.8 kB / 0.6495 GB, free: 20.88 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.001744/0.5328, allocations: 1.337 MB / 0.6508 GB, free: 20.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.533, allocations: 167.2 kB / 0.6509 GB, free: 19.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.5333, allocations: 193.6 kB / 0.6511 GB, free: 19.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.5334, allocations: 11.44 kB / 0.6511 GB, free: 19.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.5334, allocations: 3.844 kB / 0.6511 GB, free: 19.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.5334, allocations: 7.922 kB / 0.6511 GB, free: 19.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006874/0.5403, allocations: 4.022 MB / 0.6551 GB, free: 17.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.5403, allocations: 8.188 kB / 0.6551 GB, free: 17.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.5407, allocations: 108.2 kB / 0.6552 GB, free: 17.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/0.5407, allocations: 14.03 kB / 0.6552 GB, free: 17.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.5407, allocations: 15.44 kB / 0.6552 GB, free: 17.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.5407, allocations: 15.55 kB / 0.6552 GB, free: 17.49 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5407, allocations: 7.625 kB / 0.6552 GB, free: 17.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.5419, allocations: 1.262 MB / 0.6565 GB, free: 16.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/0.5423, allocations: 267.4 kB / 0.6567 GB, free: 16.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.5426, allocations: 19.47 kB / 0.6567 GB, free: 16.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/0.5431, allocations: 29.97 kB / 0.6568 GB, free: 16.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.5432, allocations: 52.7 kB / 0.6568 GB, free: 16.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/0.5432, allocations: 36.03 kB / 0.6568 GB, free: 16.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001752/0.545, allocations: 1.271 MB / 0.6581 GB, free: 15.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.545, allocations: 7.938 kB / 0.6581 GB, free: 15.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002574/0.5475, allocations: 0.6968 MB / 0.6588 GB, free: 14.85 MB / 462.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.001749/0.5493, allocations: 1.865 MB / 0.6606 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002737/0.552, allocations: 1.959 MB / 0.6625 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.552, allocations: 3.938 kB / 0.6625 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.5525, allocations: 434.7 kB / 0.6629 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.5538, allocations: 235.2 kB / 0.6631 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/0.5833, allocations: 20.95 MB / 0.6836 GB, free: 2.805 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004529/0.5878, allocations: 2.279 MB / 0.6858 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002694/0.5905, allocations: 0.9556 MB / 0.6868 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/0.5922, allocations: 1.046 MB / 0.6878 GB, free: 14.49 MB / 494.1 MB Notification: Performance of SimCode: time 1.623e-06/0.5922, allocations: 0 / 0.6878 GB, free: 14.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07321/0.6654, allocations: 32.78 MB / 0.7198 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.37, allocations: 15.09 kB / 0.7198 GB, free: 13.82 MB / 0.5137 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.625230174977332]