Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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.001353/0.001353, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001606/0.001606, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2147/0.2147, allocations: 46.96 MB / 360.8 MB, free: 3.957 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.CutTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 79.88 kB / 0.4961 GB, free: 7.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2941, allocations: 66.09 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01609/0.3102, allocations: 13.04 MB / 0.5734 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.3206, allocations: 4.84 MB / 0.5781 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.323, allocations: 139.3 kB / 0.5783 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01149/0.3345, allocations: 5.803 MB / 0.5839 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008477/0.343, allocations: 2.837 MB / 0.5867 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00383/0.3468, allocations: 1.568 MB / 0.5882 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01104/0.3578, allocations: 7.795 MB / 0.5959 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007597/0.3654, allocations: 5.377 MB / 0.6011 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005264/0.3707, allocations: 2.995 MB / 0.604 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00628/0.377, allocations: 3.839 MB / 0.6078 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001864/0.3788, allocations: 0.5703 MB / 0.6083 GB, free: 3.008 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.3822, allocations: 1.287 MB / 0.6096 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004456/0.3867, allocations: 3.615 MB / 0.6131 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005219/0.3919, allocations: 2.881 MB / 0.6159 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02006/0.4119, allocations: 11.74 MB / 0.6274 GB, free: 15.4 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4119, allocations: 4 kB / 0.6274 GB, free: 15.4 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4119, allocations: 0 / 0.6274 GB, free: 15.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003481/0.4123, allocations: 0 / 0.6274 GB, free: 15.4 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.02011/0.4324, allocations: 8.657 MB / 0.6359 GB, free: 6.664 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.4324, allocations: 8.031 kB / 0.6359 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002528/0.435, allocations: 1.166 MB / 0.637 GB, free: 5.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.4454, allocations: 2.562 MB / 0.6395 GB, free: 2.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0131/0.4585, allocations: 5.345 MB / 0.6447 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004956/0.459, allocations: 434.6 kB / 0.6451 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/0.4611, allocations: 0.5349 MB / 0.6457 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03434/0.4955, allocations: 16.75 MB / 0.662 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003218/0.4958, allocations: 79.34 kB / 0.6621 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001499/0.4973, allocations: 259.8 kB / 0.6623 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005473/0.5028, allocations: 2.931 MB / 0.6652 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02867/0.5314, allocations: 12.77 MB / 0.6777 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.53/1.061, allocations: 61.86 MB / 0.7381 GB, free: 138 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/1.075, allocations: 4.772 MB / 0.7427 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002525/1.078, allocations: 2.001 MB / 0.7447 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01348/1.091, allocations: 7.669 MB / 0.7522 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/1.091, allocations: 54.12 kB / 0.7522 GB, free: 135.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.099e-06/1.091, allocations: 0 / 0.7522 GB, free: 135.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03095/1.122, allocations: 14.37 MB / 0.7663 GB, free: 128.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/1.122, allocations: 157.8 kB / 0.7664 GB, free: 128.1 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006606/1.129, allocations: 6.642 MB / 0.7729 GB, free: 121.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002268/1.129, allocations: 61.45 kB / 0.773 GB, free: 121.6 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00203/1.131, allocations: 5.273 MB / 0.7781 GB, free: 116.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005799/1.132, allocations: 0.8482 MB / 0.7789 GB, free: 115.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/1.133, allocations: 1.673 MB / 0.7806 GB, free: 114.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.823e-05/1.133, allocations: 309.1 kB / 0.7809 GB, free: 113.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/1.136, allocations: 2.296 MB / 0.7831 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004684/1.14, allocations: 7.636 MB / 0.7906 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008805/1.149, allocations: 10.81 MB / 0.8011 GB, free: 88.05 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001918/1.149, allocations: 52 kB / 0.8012 GB, free: 88 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01395/1.163, allocations: 9.59 MB / 0.8106 GB, free: 78.41 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.4e-05/1.163, allocations: 91.98 kB / 0.8106 GB, free: 78.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/1.164, allocations: 188 kB / 0.8108 GB, free: 78.14 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/1.164, allocations: 248 kB / 0.8111 GB, free: 77.89 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005181/1.169, allocations: 1.903 MB / 0.8129 GB, free: 75.99 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001744/1.169, allocations: 370.6 kB / 0.8133 GB, free: 75.62 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006065/1.175, allocations: 403.8 kB / 0.8137 GB, free: 75.23 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/1.176, allocations: 0.5179 MB / 0.8142 GB, free: 74.72 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1027): * Single equations (assignments): 1016 * Array equations: 11 * 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.004358/1.181, allocations: 3.299 MB / 0.8174 GB, free: 71.41 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009507/1.182, allocations: 0.5548 MB / 0.8179 GB, free: 70.85 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009576/1.182, allocations: 0.6282 MB / 0.8185 GB, free: 70.21 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/1.183, allocations: 20 kB / 0.8186 GB, free: 70.2 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/1.183, allocations: 4 kB / 0.8186 GB, free: 70.19 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/1.183, allocations: 11.97 kB / 0.8186 GB, free: 70.18 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01833/1.201, allocations: 14.68 MB / 0.8329 GB, free: 54.84 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.914e-05/1.201, allocations: 48 kB / 0.833 GB, free: 54.79 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/1.202, allocations: 447.1 kB / 0.8334 GB, free: 54.35 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.92e-05/1.202, allocations: 60 kB / 0.8334 GB, free: 54.29 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/1.202, allocations: 107.9 kB / 0.8335 GB, free: 54.19 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.932e-05/1.202, allocations: 87.66 kB / 0.8336 GB, free: 54.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.961e-05/1.202, allocations: 71.69 kB / 0.8337 GB, free: 54.03 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/1.206, allocations: 4.324 MB / 0.8379 GB, free: 49 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/1.207, allocations: 0.5951 MB / 0.8385 GB, free: 48.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005201/1.207, allocations: 107.9 kB / 0.8386 GB, free: 48.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/1.209, allocations: 107.9 kB / 0.8387 GB, free: 48.19 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/1.209, allocations: 322.4 kB / 0.839 GB, free: 47.88 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/1.209, allocations: 128 kB / 0.8391 GB, free: 47.75 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.00476/1.214, allocations: 3.944 MB / 0.843 GB, free: 43.82 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.8e-07/1.214, allocations: 4 kB / 0.843 GB, free: 43.81 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006101/1.22, allocations: 1.304 MB / 0.8443 GB, free: 42.51 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.003638/1.224, allocations: 5.058 MB / 0.8492 GB, free: 36.76 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006554/1.23, allocations: 5.216 MB / 0.8543 GB, free: 31.58 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 4.139e-05/1.23, allocations: 8 kB / 0.8543 GB, free: 31.57 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/1.232, allocations: 1.148 MB / 0.8554 GB, free: 30.44 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004806/1.237, allocations: 0.8883 MB / 0.8563 GB, free: 29.57 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08727/1.324, allocations: 65.78 MB / 0.9205 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007383/1.331, allocations: 4.59 MB / 0.925 GB, free: 13.83 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.006251/1.337, allocations: 2.546 MB / 0.9275 GB, free: 11.28 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004618/1.342, allocations: 3.288 MB / 0.9307 GB, free: 7.988 MB / 0.6232 GB Notification: Performance of SimCode: time 1.483e-06/1.342, allocations: 0 / 0.9307 GB, free: 7.988 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3869/1.729, allocations: 93.09 MB / 1.022 GB, free: 214.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.49/21.22, allocations: 0 / 1.022 GB, free: 214.3 MB / 0.67 GB " [Timeout remaining time 639] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 25.235987027175725]