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.001094/0.001094, allocations: 103.3 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001486, allocations: 186.1 kB / 16.92 MB, free: 6.914 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.309/1.309, allocations: 205.4 MB / 223.1 MB, free: 5.738 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.3181/0.3181, allocations: 43.57 MB / 315 MB, free: 8.742 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.0005752/0.0005753, allocations: 12 kB / 384.7 MB, free: 7.566 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1135, allocations: 58.86 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.294/0.4076, allocations: 99.58 MB / 0.5304 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04855/0.4562, allocations: 19.19 MB / 0.5491 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02437/0.4806, allocations: 443.6 kB / 0.5495 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003112/0.4838, allocations: 0.7338 MB / 0.5503 GB, free: 1.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009129/0.4929, allocations: 3.016 MB / 0.5532 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.4957, allocations: 1.25 MB / 0.5544 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01511/0.5109, allocations: 12.2 MB / 0.5663 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01449/0.5254, allocations: 10.68 MB / 0.5768 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004157/0.5296, allocations: 2.467 MB / 0.5792 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005531/0.5351, allocations: 3.998 MB / 0.5831 GB, free: 0.582 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009619/0.5361, allocations: 296 kB / 0.5834 GB, free: 300 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/0.5388, allocations: 1.193 MB / 0.5845 GB, free: 15.1 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003325/0.5421, allocations: 3.553 MB / 0.588 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00439/0.5465, allocations: 3.968 MB / 0.5919 GB, free: 7.535 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.5607, allocations: 12.63 MB / 0.6042 GB, free: 10.86 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.5608, allocations: 8 kB / 0.6042 GB, free: 10.85 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.43e-06/0.5608, allocations: 0 / 0.6042 GB, free: 10.85 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005215/0.5613, allocations: 3.938 kB / 0.6042 GB, free: 10.85 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.01695/0.5783, allocations: 7.863 MB / 0.6119 GB, free: 2.895 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5783, allocations: 12.03 kB / 0.6119 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003516/0.5819, allocations: 1.365 MB / 0.6133 GB, free: 1.504 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/0.5938, allocations: 2.813 MB / 0.616 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/0.6064, allocations: 6.645 MB / 0.6225 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004855/0.6069, allocations: 487.9 kB / 0.623 GB, free: 7.469 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002644/0.6095, allocations: 0.6012 MB / 0.6235 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.521/1.131, allocations: 19.54 MB / 0.6426 GB, free: 51.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003004/1.131, allocations: 79.88 kB / 0.6427 GB, free: 51.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001492/1.132, allocations: 294.3 kB / 0.643 GB, free: 51.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005547/1.138, allocations: 3.641 MB / 0.6465 GB, free: 51.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03577/1.174, allocations: 15.22 MB / 0.6614 GB, free: 51.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0786/1.252, allocations: 73.04 MB / 0.7327 GB, free: 2.195 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01673/1.269, allocations: 6.117 MB / 0.7387 GB, free: 11.94 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004305/1.274, allocations: 2.548 MB / 0.7412 GB, free: 9.383 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02168/1.295, allocations: 11.17 MB / 0.7521 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.588e-05/1.295, allocations: 69.7 kB / 0.7522 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=250): time 5.451e-06/1.295, allocations: 0 / 0.7522 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=274): time 0.04148/1.337, allocations: 16.55 MB / 0.7683 GB, free: 13.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/1.337, allocations: 161.2 kB / 0.7685 GB, free: 13.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009482/1.347, allocations: 6.81 MB / 0.7751 GB, free: 6.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000453/1.347, allocations: 72.59 kB / 0.7752 GB, free: 6.262 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00373/1.351, allocations: 5.748 MB / 0.7808 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001404/1.352, allocations: 1.059 MB / 0.7818 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008987/1.353, allocations: 0.8113 MB / 0.7826 GB, free: 14.67 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/1.353, allocations: 305.1 kB / 0.7829 GB, free: 14.37 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004066/1.357, allocations: 2.739 MB / 0.7856 GB, free: 11.62 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007665/1.365, allocations: 8.622 MB / 0.794 GB, free: 176 kB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/1.378, allocations: 12.38 MB / 0.8061 GB, free: 1.746 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/1.378, allocations: 60 kB / 0.8062 GB, free: 1.688 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.01663/1.394, allocations: 11.04 MB / 0.8169 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.395, allocations: 99.98 kB / 0.817 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/1.395, allocations: 208 kB / 0.8172 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/1.395, allocations: 276.8 kB / 0.8175 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005915/1.401, allocations: 2.19 MB / 0.8196 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002625/1.401, allocations: 409.5 kB / 0.82 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005169/1.406, allocations: 462.7 kB / 0.8205 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006282/1.407, allocations: 0.5736 MB / 0.821 GB, free: 3.996 MB / 0.5919 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.005115/1.412, allocations: 3.756 MB / 0.8247 GB, free: 432 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008065/1.413, allocations: 0.5932 MB / 0.8253 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/1.418, allocations: 2.99 MB / 0.8282 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/1.418, allocations: 31.98 kB / 0.8282 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.418, allocations: 3.984 kB / 0.8282 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/1.418, allocations: 15.95 kB / 0.8282 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03594/1.454, allocations: 25.14 MB / 0.8528 GB, free: 3.145 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001079/1.454, allocations: 61.86 kB / 0.8529 GB, free: 3.086 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/1.456, allocations: 0.6109 MB / 0.8535 GB, free: 2.531 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-05/1.456, allocations: 84 kB / 0.8535 GB, free: 2.449 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/1.457, allocations: 140 kB / 0.8537 GB, free: 2.312 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.663e-05/1.457, allocations: 117.9 kB / 0.8538 GB, free: 2.223 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.098e-05/1.457, allocations: 98.44 kB / 0.8539 GB, free: 2.152 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2023/1.659, allocations: 5.901 MB / 0.8596 GB, free: 248 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/1.66, allocations: 0.7144 MB / 0.8603 GB, free: 247.9 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006517/1.661, allocations: 149.2 kB / 0.8605 GB, free: 247.9 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/1.663, allocations: 153.5 kB / 0.8606 GB, free: 247.9 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003991/1.664, allocations: 430 kB / 0.861 GB, free: 247.9 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/1.664, allocations: 179.4 kB / 0.8612 GB, free: 247.9 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.006472/1.67, allocations: 4.253 MB / 0.8654 GB, free: 247.7 MB / 0.6232 GB Notification: Performance of sort global known variables: time 1.162e-06/1.671, allocations: 0 / 0.8654 GB, free: 247.7 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.007582/1.678, allocations: 1.559 MB / 0.8669 GB, free: 247.7 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.005815/1.684, allocations: 6.664 MB / 0.8734 GB, free: 243.8 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.008885/1.693, allocations: 6.391 MB / 0.8796 GB, free: 241.8 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.559e-05/1.693, allocations: 12.56 kB / 0.8796 GB, free: 241.8 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.00243/1.695, allocations: 1.641 MB / 0.8812 GB, free: 241.3 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05933/1.755, allocations: 0.9859 MB / 0.8822 GB, free: 240.9 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1101/1.865, allocations: 97.42 MB / 0.9773 GB, free: 158.7 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006084/1.871, allocations: 5.799 MB / 0.983 GB, free: 154.3 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.00662/1.878, allocations: 2.882 MB / 0.9858 GB, free: 152.5 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003679/1.881, allocations: 3.815 MB / 0.9895 GB, free: 148.9 MB / 0.6232 GB Notification: Performance of SimCode: time 8.92e-07/1.881, allocations: 0 / 0.9895 GB, free: 148.9 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/2.008, allocations: 108.5 MB / 1.096 GB, free: 42.9 MB / 0.6232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/2.008, allocations: 196.5 kB / 1.096 GB, free: 42.64 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.81/6.818, allocations: 0 / 1.096 GB, free: 42.64 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