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.001857/0.001857, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002432/0.002432, allocations: 216.5 kB / 24.53 MB, free: 4.008 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.457/1.457, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2246/0.2246, allocations: 46.94 MB / 361.6 MB, free: 4.168 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.002532/0.002532, allocations: 75.89 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3187, allocations: 66.08 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01203/0.3307, allocations: 9.596 MB / 0.5709 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00672/0.3374, allocations: 2.962 MB / 0.5738 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.3385, allocations: 55.81 kB / 0.5738 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003908/0.3424, allocations: 2.021 MB / 0.5758 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.3452, allocations: 1.139 MB / 0.5769 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007667/0.346, allocations: 291.4 kB / 0.5772 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003276/0.3493, allocations: 2.337 MB / 0.5795 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/0.3517, allocations: 1.734 MB / 0.5811 GB, free: 80 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.3532, allocations: 0.8917 MB / 0.582 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.355, allocations: 1.254 MB / 0.5832 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004434/0.3554, allocations: 192 kB / 0.5834 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.3568, allocations: 0.7294 MB / 0.5841 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.3581, allocations: 1.133 MB / 0.5852 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.3596, allocations: 1.312 MB / 0.5865 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005335/0.3649, allocations: 4.334 MB / 0.5908 GB, free: 6.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3649, allocations: 0 / 0.5908 GB, free: 6.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3649, allocations: 0 / 0.5908 GB, free: 6.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001402/0.365, allocations: 3.938 kB / 0.5908 GB, free: 6.195 MB / 430.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.006383/0.3714, allocations: 2.866 MB / 0.5936 GB, free: 3.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.3715, allocations: 16.03 kB / 0.5936 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.748e-05/0.3716, allocations: 63.94 kB / 0.5936 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009255/0.3725, allocations: 479.1 kB / 0.5941 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005348/0.3779, allocations: 1.578 MB / 0.5956 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003149/0.381, allocations: 1.267 MB / 0.5969 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.3811, allocations: 155.5 kB / 0.597 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007038/0.3819, allocations: 187.9 kB / 0.5972 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.393, allocations: 6.246 MB / 0.6033 GB, free: 8.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.527e-05/0.393, allocations: 11.88 kB / 0.6033 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000354/0.3934, allocations: 87.91 kB / 0.6034 GB, free: 8.895 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00229/0.3957, allocations: 1.344 MB / 0.6047 GB, free: 7.547 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.4061, allocations: 5.336 MB / 0.6099 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03076/0.4368, allocations: 20 MB / 0.6295 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004373/0.4412, allocations: 1.481 MB / 0.6309 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.4424, allocations: 0.6328 MB / 0.6315 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007946/0.4504, allocations: 3.16 MB / 0.6346 GB, free: 8.293 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.4504, allocations: 35 kB / 0.6346 GB, free: 8.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.328e-06/0.4504, allocations: 4 kB / 0.6346 GB, free: 8.246 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005949/0.4563, allocations: 1.994 MB / 0.6366 GB, free: 6.242 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.4564, allocations: 55.84 kB / 0.6366 GB, free: 6.176 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003349/0.4598, allocations: 1.946 MB / 0.6385 GB, free: 4.227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.303e-05/0.4599, allocations: 37.7 kB / 0.6386 GB, free: 4.184 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.4614, allocations: 1.903 MB / 0.6404 GB, free: 2.258 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/0.4618, allocations: 333.4 kB / 0.6408 GB, free: 1.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000961/0.4627, allocations: 0.6273 MB / 0.6414 GB, free: 1.293 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.4629, allocations: 349.9 kB / 0.6417 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.4643, allocations: 0.892 MB / 0.6426 GB, free: 52 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002946/0.4672, allocations: 2.747 MB / 0.6453 GB, free: 12.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004671/0.4719, allocations: 3.97 MB / 0.6491 GB, free: 7.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.531e-05/0.472, allocations: 20 kB / 0.6491 GB, free: 7.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006041/0.478, allocations: 3.529 MB / 0.6526 GB, free: 3.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/0.4781, allocations: 32.94 kB / 0.6526 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.94e-05/0.4782, allocations: 71.98 kB / 0.6527 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.4783, allocations: 87.94 kB / 0.6528 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.4802, allocations: 0.659 MB / 0.6534 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001205/0.4804, allocations: 127.5 kB / 0.6535 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.4823, allocations: 424.9 kB / 0.6539 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003623/0.4827, allocations: 196 kB / 0.6541 GB, free: 2.34 MB / 494.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.002108/0.4848, allocations: 1.347 MB / 0.6555 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.4851, allocations: 162.9 kB / 0.6556 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.4855, allocations: 204.8 kB / 0.6558 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/0.4855, allocations: 8 kB / 0.6558 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4855, allocations: 0 / 0.6558 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4855, allocations: 0 / 0.6558 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008334/0.4939, allocations: 3.997 MB / 0.6597 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.4939, allocations: 4 kB / 0.6597 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.4943, allocations: 103.8 kB / 0.6598 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/0.4943, allocations: 15.94 kB / 0.6598 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.595e-05/0.4944, allocations: 23.98 kB / 0.6599 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/0.4944, allocations: 11.94 kB / 0.6599 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/0.4944, allocations: 15.92 kB / 0.6599 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.4962, allocations: 1.267 MB / 0.6611 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005645/0.4968, allocations: 182.6 kB / 0.6613 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003589/0.4972, allocations: 16 kB / 0.6613 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006369/0.4978, allocations: 31.92 kB / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.4979, allocations: 59.75 kB / 0.6614 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.498, allocations: 31.98 kB / 0.6614 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002312/0.5003, allocations: 1.271 MB / 0.6627 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5003, allocations: 0 / 0.6627 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003039/0.5033, allocations: 0.6852 MB / 0.6633 GB, free: 8.664 MB / 0.4981 GB 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.002501/0.5058, allocations: 1.876 MB / 0.6652 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003479/0.5093, allocations: 1.959 MB / 0.6671 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.5093, allocations: 4 kB / 0.6671 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006686/0.51, allocations: 439 kB / 0.6675 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.5117, allocations: 231.8 kB / 0.6677 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03808/0.5498, allocations: 20.95 MB / 0.6882 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003842/0.5536, allocations: 2.279 MB / 0.6904 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002234/0.5558, allocations: 0.952 MB / 0.6913 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/0.5577, allocations: 1.042 MB / 0.6924 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of SimCode: time 1.863e-06/0.5577, allocations: 0 / 0.6924 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07065/0.6284, allocations: 35.31 MB / 0.7268 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/16.39, allocations: 10.64 kB / 0.7268 GB, free: 5.109 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.20110042701708]