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.001308/0.001308, allocations: 117 kB / 18.49 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.001454/0.001454, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.4 MB / 254.7 MB, free: 15.01 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.2157/0.2157, allocations: 46.92 MB / 357.7 MB, free: 10.16 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.00228/0.00228, allocations: 83.86 kB / 0.4917 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1187, allocations: 66.04 MB / 0.5561 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01117/0.1299, allocations: 9.562 MB / 0.5655 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005684/0.1355, allocations: 2.948 MB / 0.5684 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007877/0.1363, allocations: 55.81 kB / 0.5684 GB, free: 8.879 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003633/0.14, allocations: 2.013 MB / 0.5704 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.1422, allocations: 1.129 MB / 0.5715 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.1428, allocations: 291.4 kB / 0.5718 GB, free: 5.441 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002767/0.1456, allocations: 2.328 MB / 0.574 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.1477, allocations: 1.922 MB / 0.5759 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009818/0.1487, allocations: 0.8839 MB / 0.5768 GB, free: 264 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.1502, allocations: 1.254 MB / 0.578 GB, free: 15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002879/0.1505, allocations: 196 kB / 0.5782 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.1517, allocations: 0.7216 MB / 0.5789 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.1527, allocations: 1.141 MB / 0.58 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.1539, allocations: 1.305 MB / 0.5813 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004353/0.1583, allocations: 4.334 MB / 0.5855 GB, free: 7.277 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1583, allocations: 4 kB / 0.5855 GB, free: 7.273 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1583, allocations: 4 kB / 0.5855 GB, free: 7.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.544e-05/0.1583, allocations: 0 / 0.5855 GB, free: 7.27 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.004772/0.1631, allocations: 2.938 MB / 0.5884 GB, free: 4.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1632, allocations: 12.03 kB / 0.5884 GB, free: 4.258 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.161e-05/0.1632, allocations: 67.94 kB / 0.5885 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005634/0.1638, allocations: 479.1 kB / 0.5889 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005167/0.169, allocations: 1.574 MB / 0.5905 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.1715, allocations: 1.344 MB / 0.5918 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.1717, allocations: 147.6 kB / 0.5919 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003746/0.172, allocations: 183.9 kB / 0.5921 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2467/0.4188, allocations: 6.251 MB / 0.5982 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/0.4188, allocations: 11.38 kB / 0.5982 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.419, allocations: 87.47 kB / 0.5983 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00215/0.4212, allocations: 1.343 MB / 0.5996 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009522/0.4307, allocations: 5.333 MB / 0.6048 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02252/0.4532, allocations: 20.08 MB / 0.6244 GB, free: 16.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/0.4567, allocations: 1.945 MB / 0.6263 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006879/0.4573, allocations: 0.6392 MB / 0.6269 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005023/0.4624, allocations: 3.617 MB / 0.6305 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.4624, allocations: 38.98 kB / 0.6305 GB, free: 12.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.315e-06/0.4624, allocations: 3.938 kB / 0.6305 GB, free: 12.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.00443/0.4668, allocations: 1.99 MB / 0.6325 GB, free: 10.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.4668, allocations: 59.78 kB / 0.6325 GB, free: 10.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.4686, allocations: 1.944 MB / 0.6344 GB, free: 8.348 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.4686, allocations: 35.02 kB / 0.6344 GB, free: 8.309 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000624/0.4692, allocations: 1.909 MB / 0.6363 GB, free: 6.523 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.4694, allocations: 324.4 kB / 0.6366 GB, free: 6.211 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005471/0.4699, allocations: 0.6264 MB / 0.6372 GB, free: 5.578 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.411e-05/0.47, allocations: 353.9 kB / 0.6376 GB, free: 5.227 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009185/0.4709, allocations: 0.8881 MB / 0.6384 GB, free: 4.336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.4724, allocations: 2.755 MB / 0.6411 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004195/0.4766, allocations: 3.97 MB / 0.645 GB, free: 11.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.063e-05/0.4766, allocations: 20 kB / 0.645 GB, free: 11.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005223/0.4818, allocations: 3.533 MB / 0.6485 GB, free: 8.199 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.066e-05/0.4819, allocations: 32 kB / 0.6485 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.524e-05/0.4819, allocations: 68 kB / 0.6486 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-05/0.482, allocations: 84 kB / 0.6486 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.4838, allocations: 0.6588 MB / 0.6493 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001105/0.484, allocations: 128.1 kB / 0.6494 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.4856, allocations: 431.6 kB / 0.6498 GB, free: 6.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.4858, allocations: 195 kB / 0.65 GB, free: 6.625 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.001858/0.4877, allocations: 1.338 MB / 0.6513 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.4879, allocations: 162.9 kB / 0.6515 GB, free: 5.113 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.4882, allocations: 204 kB / 0.6517 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.4883, allocations: 11.94 kB / 0.6517 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4883, allocations: 0 / 0.6517 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4883, allocations: 3.984 kB / 0.6517 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006109/0.4944, allocations: 4.028 MB / 0.6556 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.4944, allocations: 8.031 kB / 0.6556 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.4948, allocations: 107.8 kB / 0.6557 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.4948, allocations: 8 kB / 0.6557 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.4949, allocations: 16 kB / 0.6557 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.456e-05/0.4949, allocations: 11.94 kB / 0.6558 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.4949, allocations: 11.94 kB / 0.6558 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.4965, allocations: 1.275 MB / 0.657 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.4968, allocations: 259.7 kB / 0.6573 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.497, allocations: 16 kB / 0.6573 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.4975, allocations: 35.92 kB / 0.6573 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4976, allocations: 51.83 kB / 0.6574 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/0.4976, allocations: 28 kB / 0.6574 GB, free: 14.78 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001823/0.4995, allocations: 1.275 MB / 0.6586 GB, free: 13.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4995, allocations: 0 / 0.6586 GB, free: 13.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002467/0.5019, allocations: 0.6852 MB / 0.6593 GB, free: 12.83 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.002129/0.504, allocations: 1.877 MB / 0.6611 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003095/0.5071, allocations: 1.954 MB / 0.663 GB, free: 8.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.5071, allocations: 4 kB / 0.663 GB, free: 8.906 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005544/0.5077, allocations: 438.2 kB / 0.6635 GB, free: 8.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.5089, allocations: 244.7 kB / 0.6637 GB, free: 8.254 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03031/0.5392, allocations: 20.94 MB / 0.6841 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/0.5416, allocations: 2.271 MB / 0.6864 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002036/0.5437, allocations: 0.9577 MB / 0.6873 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/0.545, allocations: 1.042 MB / 0.6883 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.545, allocations: 4 kB / 0.6883 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06243/0.6074, allocations: 32.85 MB / 0.7204 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.73, allocations: 7.484 kB / 0.7204 GB, free: 11.74 MB / 0.5294 GB " [Timeout remaining time 647] (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: 16.168290685978718]