Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 105.6 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 193.5 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3285/0.3285, allocations: 43.49 MB / 313.6 MB, free: 8.449 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.91 kB / 382.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1184, allocations: 57.78 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.2951/0.4136, allocations: 101.9 MB / 0.5293 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05213/0.4657, allocations: 19.15 MB / 0.548 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02562/0.4914, allocations: 449.4 kB / 0.5484 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01147/0.5029, allocations: 5.897 MB / 0.5542 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008723/0.5117, allocations: 2.962 MB / 0.5571 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00378/0.5155, allocations: 1.501 MB / 0.5586 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0114/0.5269, allocations: 8.424 MB / 0.5668 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01185/0.5388, allocations: 8.134 MB / 0.5747 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006629/0.5455, allocations: 3.368 MB / 0.578 GB, free: 3.785 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007595/0.5531, allocations: 4.791 MB / 0.5827 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002786/0.5559, allocations: 0.6641 MB / 0.5834 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004964/0.5609, allocations: 1.498 MB / 0.5848 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006363/0.5673, allocations: 4.021 MB / 0.5887 GB, free: 8.785 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009973/0.5773, allocations: 4.513 MB / 0.5931 GB, free: 4.246 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.5946, allocations: 13.28 MB / 0.6061 GB, free: 6.922 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.5946, allocations: 3.984 kB / 0.6061 GB, free: 6.918 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5946, allocations: 0 / 0.6061 GB, free: 6.918 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005318/0.5952, allocations: 0 / 0.6061 GB, free: 6.918 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: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.02648/0.6217, allocations: 9.605 MB / 0.6155 GB, free: 13.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.6217, allocations: 11.89 kB / 0.6155 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004048/0.6258, allocations: 1.373 MB / 0.6169 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/0.6383, allocations: 2.75 MB / 0.6195 GB, free: 9.059 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0131/0.6514, allocations: 6.645 MB / 0.626 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005055/0.6519, allocations: 495.9 kB / 0.6265 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002599/0.6546, allocations: 0.609 MB / 0.6271 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5309/1.186, allocations: 19.48 MB / 0.6461 GB, free: 51.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003587/1.186, allocations: 74.64 kB / 0.6462 GB, free: 51.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001369/1.187, allocations: 298.3 kB / 0.6465 GB, free: 51.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006816/1.194, allocations: 3.641 MB / 0.65 GB, free: 51.08 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0324/1.227, allocations: 15.17 MB / 0.6648 GB, free: 50.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09709/1.324, allocations: 73.16 MB / 0.7363 GB, free: 11.59 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01695/1.341, allocations: 6.108 MB / 0.7423 GB, free: 5.352 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004127/1.345, allocations: 2.545 MB / 0.7447 GB, free: 2.797 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01996/1.365, allocations: 11.17 MB / 0.7557 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/1.365, allocations: 63.59 kB / 0.7557 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=250): time 5.931e-06/1.365, allocations: 1.75 kB / 0.7557 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of matching and sorting (n=274): time 0.04398/1.409, allocations: 16.49 MB / 0.7718 GB, free: 6.789 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.45e-05/1.409, allocations: 157.5 kB / 0.772 GB, free: 6.609 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/1.421, allocations: 6.823 MB / 0.7786 GB, free: 15.81 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004786/1.422, allocations: 63.34 kB / 0.7787 GB, free: 15.74 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004662/1.426, allocations: 5.745 MB / 0.7843 GB, free: 10.01 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.428, allocations: 1.063 MB / 0.7853 GB, free: 8.957 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004875/1.432, allocations: 1.874 MB / 0.7872 GB, free: 7.074 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.433, allocations: 301.1 kB / 0.7875 GB, free: 6.777 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005189/1.438, allocations: 2.736 MB / 0.7901 GB, free: 4.035 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009162/1.447, allocations: 8.622 MB / 0.7986 GB, free: 8.59 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/1.462, allocations: 12.39 MB / 0.8107 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002166/1.462, allocations: 60 kB / 0.8107 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.02221/1.485, allocations: 11.03 MB / 0.8215 GB, free: 304 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002961/1.485, allocations: 96 kB / 0.8216 GB, free: 208 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004041/1.485, allocations: 212 kB / 0.8218 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/1.486, allocations: 276 kB / 0.822 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007464/1.493, allocations: 2.186 MB / 0.8242 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000377/1.494, allocations: 412.4 kB / 0.8246 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006354/1.5, allocations: 459.5 kB / 0.825 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001335/1.501, allocations: 0.5733 MB / 0.8256 GB, free: 12.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (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 (1179): * Single equations (assignments): 1168 * 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.006397/1.508, allocations: 3.753 MB / 0.8292 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/1.509, allocations: 0.5938 MB / 0.8298 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006789/1.516, allocations: 2.995 MB / 0.8327 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.721e-05/1.516, allocations: 28 kB / 0.8328 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/1.516, allocations: 0 / 0.8328 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/1.516, allocations: 19.14 kB / 0.8328 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2745/1.791, allocations: 25.15 MB / 0.8573 GB, free: 254.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.197e-05/1.791, allocations: 68.47 kB / 0.8574 GB, free: 254.8 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/1.793, allocations: 0.6047 MB / 0.858 GB, free: 254.8 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.827e-05/1.793, allocations: 83.19 kB / 0.8581 GB, free: 254.8 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/1.793, allocations: 138.4 kB / 0.8582 GB, free: 254.8 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.716e-05/1.793, allocations: 122.9 kB / 0.8583 GB, free: 254.8 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.008e-05/1.793, allocations: 100.2 kB / 0.8584 GB, free: 254.7 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006029/1.799, allocations: 5.89 MB / 0.8642 GB, free: 251.4 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002328/1.802, allocations: 0.7088 MB / 0.8649 GB, free: 251.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001453/1.803, allocations: 149 kB / 0.865 GB, free: 251.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003144/1.806, allocations: 150.6 kB / 0.8652 GB, free: 251.3 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005579/1.807, allocations: 433.6 kB / 0.8656 GB, free: 251.1 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000246/1.807, allocations: 174.1 kB / 0.8657 GB, free: 251.1 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.008082/1.815, allocations: 4.257 MB / 0.8699 GB, free: 249.8 MB / 0.6232 GB Notification: Performance of sort global known variables: time 7.62e-07/1.815, allocations: 0 / 0.8699 GB, free: 249.8 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01073/1.826, allocations: 1.553 MB / 0.8714 GB, free: 249.6 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.008448/1.834, allocations: 6.668 MB / 0.8779 GB, free: 244.6 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.0117/1.846, allocations: 6.626 MB / 0.8844 GB, free: 242.5 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 7.079e-05/1.846, allocations: 9.625 kB / 0.8844 GB, free: 242.5 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.002686/1.849, allocations: 1.65 MB / 0.886 GB, free: 241.9 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00699/1.856, allocations: 0.9836 MB / 0.887 GB, free: 241.5 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1336/1.989, allocations: 97.39 MB / 0.9821 GB, free: 155.2 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008704/1.998, allocations: 5.797 MB / 0.9877 GB, free: 150.8 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.00725/2.006, allocations: 2.893 MB / 0.9906 GB, free: 149 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005133/2.011, allocations: 3.812 MB / 0.9943 GB, free: 145.4 MB / 0.6232 GB Notification: Performance of SimCode: time 1.323e-06/2.011, allocations: 0 / 0.9943 GB, free: 145.4 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1367/2.147, allocations: 111.1 MB / 1.103 GB, free: 35.56 MB / 0.6232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/2.148, allocations: 203.2 kB / 1.103 GB, free: 35.29 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.345/7.493, allocations: 0 / 1.103 GB, free: 35.29 MB / 0.6232 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches