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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001422/0.001422, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 208.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 83.84 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3354, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01157/0.347, allocations: 9.521 MB / 0.5399 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006884/0.3539, allocations: 2.925 MB / 0.5428 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.3557, allocations: 52.06 kB / 0.5428 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004085/0.3598, allocations: 1.994 MB / 0.5448 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.363, allocations: 1.106 MB / 0.5458 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008561/0.3639, allocations: 286.5 kB / 0.5461 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.3678, allocations: 2.341 MB / 0.5484 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003233/0.3711, allocations: 2.296 MB / 0.5506 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.3728, allocations: 0.884 MB / 0.5515 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.3747, allocations: 1.149 MB / 0.5526 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006156/0.3754, allocations: 192 kB / 0.5528 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.377, allocations: 0.7021 MB / 0.5535 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.3783, allocations: 1.099 MB / 0.5546 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.3801, allocations: 1.312 MB / 0.5559 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005758/0.3858, allocations: 4.327 MB / 0.5601 GB, free: 3.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3859, allocations: 0 / 0.5601 GB, free: 3.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3859, allocations: 0 / 0.5601 GB, free: 3.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001305/0.386, allocations: 4 kB / 0.5601 GB, free: 3.402 MB / 414.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.005988/0.392, allocations: 2.934 MB / 0.5629 GB, free: 416 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.3921, allocations: 15.97 kB / 0.563 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008875/0.393, allocations: 479.1 kB / 0.5634 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005332/0.3983, allocations: 1.582 MB / 0.565 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.4011, allocations: 1.336 MB / 0.5663 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.4013, allocations: 147.8 kB / 0.5664 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007522/0.402, allocations: 187.9 kB / 0.5666 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.4129, allocations: 6.246 MB / 0.5727 GB, free: 6.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.437e-05/0.413, allocations: 11.88 kB / 0.5727 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003471/0.4134, allocations: 87.91 kB / 0.5728 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002216/0.4156, allocations: 1.344 MB / 0.5741 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.4264, allocations: 5.337 MB / 0.5793 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03053/0.457, allocations: 20.08 MB / 0.5989 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004258/0.4613, allocations: 2.006 MB / 0.6009 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.4624, allocations: 0.6914 MB / 0.6016 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006585/0.469, allocations: 3.624 MB / 0.6051 GB, free: 4.047 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.4691, allocations: 35 kB / 0.6051 GB, free: 4.004 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.206e-06/0.4691, allocations: 0 / 0.6051 GB, free: 4.004 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005578/0.4747, allocations: 1.998 MB / 0.6071 GB, free: 1.996 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.4747, allocations: 55.84 kB / 0.6071 GB, free: 1.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/0.4777, allocations: 1.942 MB / 0.609 GB, free: 15.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.818e-05/0.4778, allocations: 37.7 kB / 0.6091 GB, free: 15.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001498/0.4793, allocations: 1.907 MB / 0.6109 GB, free: 14.01 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000382/0.4797, allocations: 333.5 kB / 0.6112 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008731/0.4806, allocations: 0.6195 MB / 0.6118 GB, free: 13.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4808, allocations: 353.9 kB / 0.6122 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.4822, allocations: 0.8842 MB / 0.613 GB, free: 11.81 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/0.4852, allocations: 2.763 MB / 0.6157 GB, free: 8.117 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004809/0.49, allocations: 3.968 MB / 0.6196 GB, free: 3.227 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.778e-05/0.4901, allocations: 16 kB / 0.6196 GB, free: 3.211 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00642/0.4965, allocations: 3.528 MB / 0.6231 GB, free: 15.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/0.4966, allocations: 32 kB / 0.6231 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-05/0.4967, allocations: 72.16 kB / 0.6232 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.81e-05/0.4968, allocations: 87.75 kB / 0.6233 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.4989, allocations: 0.655 MB / 0.6239 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001155/0.499, allocations: 127.5 kB / 0.624 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.5011, allocations: 436.8 kB / 0.6244 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003913/0.5015, allocations: 191.9 kB / 0.6246 GB, free: 14.09 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.002337/0.5039, allocations: 1.342 MB / 0.6259 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/0.5042, allocations: 162.9 kB / 0.6261 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.5046, allocations: 200.8 kB / 0.6263 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/0.5046, allocations: 8 kB / 0.6263 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5047, allocations: 7.875 kB / 0.6263 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5047, allocations: 0 / 0.6263 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007146/0.5118, allocations: 4.033 MB / 0.6302 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.5119, allocations: 4 kB / 0.6302 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.5124, allocations: 103.8 kB / 0.6303 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/0.5124, allocations: 8 kB / 0.6303 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.5125, allocations: 19.98 kB / 0.6304 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.046e-05/0.5125, allocations: 11.94 kB / 0.6304 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/0.5125, allocations: 8.5 kB / 0.6304 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.5147, allocations: 1.279 MB / 0.6316 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007551/0.5155, allocations: 251.8 kB / 0.6319 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.5157, allocations: 19.98 kB / 0.6319 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005408/0.5163, allocations: 31.94 kB / 0.6319 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.5164, allocations: 63.73 kB / 0.632 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.59e-05/0.5165, allocations: 28 kB / 0.632 GB, free: 6.242 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002132/0.5186, allocations: 1.271 MB / 0.6333 GB, free: 4.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5186, allocations: 0 / 0.6333 GB, free: 4.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003083/0.5217, allocations: 0.6891 MB / 0.6339 GB, free: 4.289 MB / 494.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.002734/0.5245, allocations: 1.873 MB / 0.6358 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003608/0.5281, allocations: 2.048 MB / 0.6378 GB, free: 284 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.5281, allocations: 0 / 0.6378 GB, free: 284 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006392/0.5288, allocations: 469 kB / 0.6382 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.5302, allocations: 250.9 kB / 0.6384 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03397/0.5641, allocations: 20.95 MB / 0.6589 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003144/0.5673, allocations: 2.271 MB / 0.6611 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002181/0.5695, allocations: 0.9558 MB / 0.6621 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/0.5712, allocations: 1.046 MB / 0.6631 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of SimCode: time 9.01e-07/0.5712, allocations: 0 / 0.6631 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0719/0.6431, allocations: 32.6 MB / 0.6949 GB, free: 3.305 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.97, allocations: 12.55 kB / 0.6949 GB, free: 3.297 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches