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.001565/0.001565, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001649/0.001649, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.446/1.446, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2258/0.2258, allocations: 46.9 MB / 357.4 MB, free: 10.48 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="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 0.002175/0.002175, allocations: 71.88 kB / 0.4912 GB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1303, allocations: 66 MB / 0.5557 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01259/0.1428, allocations: 9.578 MB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006135/0.149, allocations: 2.932 MB / 0.5679 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.1502, allocations: 51.88 kB / 0.5679 GB, free: 9.434 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00387/0.1541, allocations: 2.017 MB / 0.5699 GB, free: 7.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.1569, allocations: 1.125 MB / 0.571 GB, free: 6.281 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.1576, allocations: 287.4 kB / 0.5713 GB, free: 6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00325/0.1608, allocations: 2.341 MB / 0.5736 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002469/0.1633, allocations: 1.914 MB / 0.5754 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.1646, allocations: 0.8761 MB / 0.5763 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.1663, allocations: 1.242 MB / 0.5775 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000394/0.1667, allocations: 200 kB / 0.5777 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.1681, allocations: 0.7254 MB / 0.5784 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.1692, allocations: 1.141 MB / 0.5795 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.1708, allocations: 1.308 MB / 0.5808 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005391/0.1762, allocations: 4.326 MB / 0.585 GB, free: 7.844 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1762, allocations: 0 / 0.585 GB, free: 7.844 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1762, allocations: 0 / 0.585 GB, free: 7.844 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001192/0.1763, allocations: 0 / 0.585 GB, free: 7.844 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.005919/0.1822, allocations: 2.953 MB / 0.5879 GB, free: 4.828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.1822, allocations: 11.97 kB / 0.5879 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006973/0.1829, allocations: 483.1 kB / 0.5884 GB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004967/0.1879, allocations: 1.574 MB / 0.5899 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00393/0.1918, allocations: 1.344 MB / 0.5912 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.192, allocations: 151.8 kB / 0.5914 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005658/0.1926, allocations: 183.9 kB / 0.5916 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2729/0.4655, allocations: 6.242 MB / 0.5976 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/0.4655, allocations: 14.44 kB / 0.5977 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.4658, allocations: 87.39 kB / 0.5977 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002151/0.4679, allocations: 1.343 MB / 0.5991 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.4785, allocations: 5.331 MB / 0.6043 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02518/0.5037, allocations: 20.07 MB / 0.6239 GB, free: 17.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003526/0.5072, allocations: 1.952 MB / 0.6258 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007099/0.5079, allocations: 0.6387 MB / 0.6264 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005854/0.5138, allocations: 3.622 MB / 0.6299 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.5138, allocations: 36.81 kB / 0.63 GB, free: 13.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.886e-06/0.5138, allocations: 0 / 0.63 GB, free: 13.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.004433/0.5183, allocations: 1.99 MB / 0.6319 GB, free: 11.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.5183, allocations: 63.83 kB / 0.632 GB, free: 11.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.5202, allocations: 1.944 MB / 0.6339 GB, free: 9.344 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.5203, allocations: 36.12 kB / 0.6339 GB, free: 9.305 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007081/0.521, allocations: 1.909 MB / 0.6358 GB, free: 7.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.5211, allocations: 325.5 kB / 0.6361 GB, free: 7.207 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005455/0.5217, allocations: 0.6209 MB / 0.6367 GB, free: 6.578 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.5218, allocations: 357.9 kB / 0.637 GB, free: 6.223 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008936/0.5227, allocations: 0.8842 MB / 0.6379 GB, free: 5.336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.5241, allocations: 2.755 MB / 0.6406 GB, free: 1.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004559/0.5287, allocations: 3.967 MB / 0.6445 GB, free: 12.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-05/0.5287, allocations: 20 kB / 0.6445 GB, free: 12.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006156/0.5349, allocations: 3.534 MB / 0.6479 GB, free: 9.199 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.849e-05/0.5349, allocations: 32 kB / 0.648 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.741e-05/0.535, allocations: 68 kB / 0.648 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.624e-05/0.5351, allocations: 87.94 kB / 0.6481 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.5371, allocations: 0.655 MB / 0.6487 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001115/0.5372, allocations: 128 kB / 0.6489 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.5392, allocations: 436.7 kB / 0.6493 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002844/0.5395, allocations: 188 kB / 0.6495 GB, free: 7.621 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.002221/0.5418, allocations: 1.341 MB / 0.6508 GB, free: 6.273 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.542, allocations: 162.9 kB / 0.6509 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.5424, allocations: 204.8 kB / 0.6511 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.5424, allocations: 8 kB / 0.6511 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.5424, allocations: 0 / 0.6511 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.5425, allocations: 3.984 kB / 0.6511 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007719/0.5502, allocations: 4.03 MB / 0.6551 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.5502, allocations: 8.125 kB / 0.6551 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.5506, allocations: 104.5 kB / 0.6552 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.5506, allocations: 8 kB / 0.6552 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.5507, allocations: 20 kB / 0.6552 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/0.5507, allocations: 16.47 kB / 0.6552 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.5507, allocations: 8 kB / 0.6552 GB, free: 1.562 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.5524, allocations: 1.271 MB / 0.6565 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/0.5529, allocations: 259.7 kB / 0.6567 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.5531, allocations: 23.92 kB / 0.6567 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.5535, allocations: 35.92 kB / 0.6568 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.5536, allocations: 55.77 kB / 0.6568 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/0.5537, allocations: 28 kB / 0.6568 GB, free: 15.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001891/0.5556, allocations: 1.275 MB / 0.6581 GB, free: 14.51 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5556, allocations: 4 kB / 0.6581 GB, free: 14.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002573/0.5581, allocations: 0.6852 MB / 0.6588 GB, free: 13.82 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.002158/0.5603, allocations: 1.866 MB / 0.6606 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003209/0.5635, allocations: 1.961 MB / 0.6625 GB, free: 9.898 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.5635, allocations: 0 / 0.6625 GB, free: 9.898 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005964/0.5641, allocations: 434 kB / 0.6629 GB, free: 9.477 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.5655, allocations: 246.4 kB / 0.6632 GB, free: 9.25 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03307/0.5986, allocations: 20.94 MB / 0.6836 GB, free: 1.762 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00428/0.6029, allocations: 2.279 MB / 0.6858 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002396/0.6053, allocations: 0.9538 MB / 0.6868 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/0.607, allocations: 1.046 MB / 0.6878 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of SimCode: time 1.453e-06/0.607, allocations: 0 / 0.6878 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07304/0.68, allocations: 32.8 MB / 0.7198 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.43, allocations: 7.938 kB / 0.7198 GB, free: 12.78 MB / 0.5294 GB " [Timeout remaining time 646] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.679687389172614]