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.001123/0.001123, allocations: 118.8 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 202 kB / 18.72 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 71.89 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2922, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.0101/0.3024, allocations: 9.519 MB / 0.5398 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0056/0.308, allocations: 2.923 MB / 0.5426 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.3093, allocations: 48.41 kB / 0.5427 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003679/0.313, allocations: 1.998 MB / 0.5446 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.3157, allocations: 1.11 MB / 0.5457 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.3164, allocations: 282.9 kB / 0.546 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00312/0.3196, allocations: 2.341 MB / 0.5483 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.3221, allocations: 2.301 MB / 0.5505 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.3233, allocations: 0.8683 MB / 0.5514 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.3248, allocations: 1.16 MB / 0.5525 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004898/0.3253, allocations: 196 kB / 0.5527 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.3267, allocations: 0.6943 MB / 0.5534 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.3279, allocations: 1.118 MB / 0.5545 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001598/0.3295, allocations: 1.308 MB / 0.5557 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.3337, allocations: 4.313 MB / 0.56 GB, free: 3.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3337, allocations: 0 / 0.56 GB, free: 3.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3337, allocations: 4 kB / 0.56 GB, free: 3.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001214/0.3339, allocations: 0 / 0.56 GB, free: 3.465 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.00495/0.3388, allocations: 2.861 MB / 0.5628 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3389, allocations: 8.031 kB / 0.5628 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005454/0.3394, allocations: 483.1 kB / 0.5632 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/0.3443, allocations: 1.557 MB / 0.5647 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.347, allocations: 1.34 MB / 0.5661 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.757e-05/0.3471, allocations: 147.8 kB / 0.5662 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.3475, allocations: 187.8 kB / 0.5664 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008158/0.3556, allocations: 6.25 MB / 0.5725 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.483e-05/0.3557, allocations: 11.88 kB / 0.5725 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/0.3559, allocations: 91.89 kB / 0.5726 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001905/0.3578, allocations: 1.344 MB / 0.5739 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008704/0.3666, allocations: 5.327 MB / 0.5791 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02591/0.3925, allocations: 20.04 MB / 0.5987 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/0.3966, allocations: 2.01 MB / 0.6006 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009055/0.3975, allocations: 0.6953 MB / 0.6013 GB, free: 8.023 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00669/0.4042, allocations: 3.6 MB / 0.6048 GB, free: 4.277 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.4043, allocations: 50.94 kB / 0.6049 GB, free: 4.219 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.236e-06/0.4043, allocations: 0 / 0.6049 GB, free: 4.219 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005217/0.4095, allocations: 1.981 MB / 0.6068 GB, free: 2.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.4096, allocations: 63.84 kB / 0.6069 GB, free: 2.152 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/0.412, allocations: 1.941 MB / 0.6088 GB, free: 212 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.4121, allocations: 29.7 kB / 0.6088 GB, free: 176 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.4131, allocations: 1.836 MB / 0.6106 GB, free: 14.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.4134, allocations: 312.1 kB / 0.6109 GB, free: 14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007105/0.4141, allocations: 0.6229 MB / 0.6115 GB, free: 13.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4143, allocations: 353.9 kB / 0.6118 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.4156, allocations: 0.8842 MB / 0.6127 GB, free: 12.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/0.4179, allocations: 2.759 MB / 0.6154 GB, free: 8.434 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003936/0.4218, allocations: 3.957 MB / 0.6192 GB, free: 3.555 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.477e-05/0.4219, allocations: 20 kB / 0.6193 GB, free: 3.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005014/0.4269, allocations: 3.53 MB / 0.6227 GB, free: 15.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.427, allocations: 38.5 kB / 0.6227 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.361e-05/0.4271, allocations: 64 kB / 0.6228 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.422e-05/0.4272, allocations: 91.94 kB / 0.6229 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.4289, allocations: 0.6511 MB / 0.6235 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.353e-05/0.429, allocations: 131.5 kB / 0.6237 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.4307, allocations: 416.1 kB / 0.6241 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.4309, allocations: 187.9 kB / 0.6242 GB, free: 14.43 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.001607/0.4325, allocations: 1.346 MB / 0.6255 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.4327, allocations: 157.8 kB / 0.6257 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.433, allocations: 192.9 kB / 0.6259 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.433, allocations: 19.94 kB / 0.6259 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.433, allocations: 0 / 0.6259 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.4331, allocations: 3.984 kB / 0.6259 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005654/0.4387, allocations: 4.017 MB / 0.6298 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.4387, allocations: 8 kB / 0.6298 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.4392, allocations: 107.9 kB / 0.6299 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.4392, allocations: 11.94 kB / 0.6299 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.4392, allocations: 19.94 kB / 0.63 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.4393, allocations: 15.98 kB / 0.63 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.4393, allocations: 7.938 kB / 0.63 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.4406, allocations: 1.266 MB / 0.6312 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.441, allocations: 246.8 kB / 0.6315 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.4411, allocations: 20 kB / 0.6315 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.4416, allocations: 27.88 kB / 0.6315 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/0.4417, allocations: 55.83 kB / 0.6316 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.4417, allocations: 32 kB / 0.6316 GB, free: 6.605 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001512/0.4433, allocations: 1.271 MB / 0.6328 GB, free: 5.344 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4433, allocations: 4 kB / 0.6328 GB, free: 5.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0022/0.4455, allocations: 0.6726 MB / 0.6335 GB, free: 4.664 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.001756/0.4472, allocations: 1.872 MB / 0.6353 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.4499, allocations: 2.05 MB / 0.6373 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.45, allocations: 4 kB / 0.6373 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005116/0.4505, allocations: 461.5 kB / 0.6378 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.4517, allocations: 244.8 kB / 0.638 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02505/0.4767, allocations: 20.84 MB / 0.6584 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/0.4793, allocations: 2.271 MB / 0.6606 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00201/0.4813, allocations: 0.9636 MB / 0.6615 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/0.4826, allocations: 1.042 MB / 0.6625 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of SimCode: time 9.11e-07/0.4826, allocations: 0 / 0.6625 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05739/0.54, allocations: 32.92 MB / 0.6947 GB, free: 3.469 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.35, allocations: 15.94 kB / 0.6947 GB, free: 3.453 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