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.001305/0.001305, allocations: 104 kB / 16.27 MB, free: 6.043 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.001225/0.001225, allocations: 190.8 kB / 17.19 MB, free: 5.688 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.42/1.42, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2097/0.2097, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001712/0.001712, allocations: 65.64 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1034, allocations: 57.78 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01627/0.1197, allocations: 18.01 MB / 458.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.132, allocations: 5.42 MB / 464 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003479/0.1355, allocations: 131.6 kB / 464.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01116/0.1467, allocations: 6.106 MB / 470.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00821/0.155, allocations: 3.171 MB / 473.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0039/0.1589, allocations: 1.583 MB / 475 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01279/0.1717, allocations: 8.372 MB / 483.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01114/0.1829, allocations: 7.752 MB / 491.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006087/0.189, allocations: 3.279 MB / 494.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006518/0.1956, allocations: 4.319 MB / 498.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002694/0.1983, allocations: 0.6641 MB / 499.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00449/0.2028, allocations: 1.483 MB / 0.4892 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00512/0.208, allocations: 3.967 MB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007266/0.2152, allocations: 4.474 MB / 0.4974 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01627/0.2315, allocations: 13.21 MB / 0.5103 GB, free: 4.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2316, allocations: 0 / 0.5103 GB, free: 4.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.2316, allocations: 4 kB / 0.5103 GB, free: 4.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005501/0.2322, allocations: 0 / 0.5103 GB, free: 4.551 MB / 398.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.02267/0.2548, allocations: 9.606 MB / 0.5197 GB, free: 10.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.2549, allocations: 15.89 kB / 0.5197 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003473/0.2584, allocations: 1.369 MB / 0.521 GB, free: 9.453 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/0.2713, allocations: 2.758 MB / 0.5237 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.375/0.6464, allocations: 6.633 MB / 0.5302 GB, free: 79.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005855/0.647, allocations: 483.9 kB / 0.5307 GB, free: 79.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002614/0.6496, allocations: 0.607 MB / 0.5313 GB, free: 79.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03502/0.6847, allocations: 19.5 MB / 0.5503 GB, free: 73.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002108/0.6849, allocations: 71.47 kB / 0.5504 GB, free: 72.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001039/0.686, allocations: 303.8 kB / 0.5507 GB, free: 72.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004553/0.6905, allocations: 3.639 MB / 0.5542 GB, free: 71.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02632/0.7169, allocations: 15.17 MB / 0.569 GB, free: 56.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08129/0.7982, allocations: 73.16 MB / 0.6405 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01769/0.8159, allocations: 6.102 MB / 0.6464 GB, free: 7.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004384/0.8203, allocations: 2.552 MB / 0.6489 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02237/0.8427, allocations: 11.18 MB / 0.6598 GB, free: 9.609 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.746e-05/0.8428, allocations: 60.56 kB / 0.6599 GB, free: 9.543 MB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 6.703e-06/0.8429, allocations: 4 kB / 0.6599 GB, free: 9.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=274): time 0.04813/0.891, allocations: 16.48 MB / 0.676 GB, free: 9.074 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.189e-05/0.8911, allocations: 162.5 kB / 0.6762 GB, free: 8.887 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/0.902, allocations: 6.822 MB / 0.6828 GB, free: 2.082 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004464/0.9025, allocations: 69.69 kB / 0.6829 GB, free: 2.008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004165/0.9066, allocations: 5.747 MB / 0.6885 GB, free: 12.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001388/0.9081, allocations: 1.057 MB / 0.6895 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003496/0.9116, allocations: 1.876 MB / 0.6914 GB, free: 9.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.9117, allocations: 309.1 kB / 0.6917 GB, free: 8.922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004974/0.9167, allocations: 2.736 MB / 0.6943 GB, free: 6.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009999/0.9267, allocations: 8.626 MB / 0.7027 GB, free: 10.62 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01501/0.9417, allocations: 12.38 MB / 0.7148 GB, free: 11.32 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001645/0.942, allocations: 67.94 kB / 0.7149 GB, free: 11.26 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.0229/0.9649, allocations: 11.03 MB / 0.7257 GB, free: 224 kB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003575/0.9653, allocations: 96.97 kB / 0.7258 GB, free: 128 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2032/1.168, allocations: 204.8 kB / 0.726 GB, free: 165.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/1.169, allocations: 276.1 kB / 0.7262 GB, free: 165.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007266/1.176, allocations: 2.184 MB / 0.7284 GB, free: 165.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003976/1.177, allocations: 409.7 kB / 0.7287 GB, free: 165.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007592/1.184, allocations: 458.6 kB / 0.7292 GB, free: 165.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/1.185, allocations: 0.5694 MB / 0.7297 GB, free: 165.2 MB / 0.5138 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.006482/1.192, allocations: 3.771 MB / 0.7334 GB, free: 164.9 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.193, allocations: 0.5887 MB / 0.734 GB, free: 164.9 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005124/1.198, allocations: 2.991 MB / 0.7369 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/1.198, allocations: 29.06 kB / 0.7369 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.198, allocations: 4.25 kB / 0.7369 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-05/1.198, allocations: 11.86 kB / 0.737 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03421/1.232, allocations: 25.15 MB / 0.7615 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001011/1.233, allocations: 67.44 kB / 0.7616 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/1.234, allocations: 0.6128 MB / 0.7622 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.965e-05/1.235, allocations: 81.75 kB / 0.7623 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/1.235, allocations: 135.5 kB / 0.7624 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-05/1.235, allocations: 123.6 kB / 0.7625 GB, free: 155.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-05/1.235, allocations: 100.8 kB / 0.7626 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005011/1.24, allocations: 5.89 MB / 0.7684 GB, free: 150.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.241, allocations: 0.7097 MB / 0.7691 GB, free: 150 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000703/1.242, allocations: 148.2 kB / 0.7692 GB, free: 149.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002473/1.244, allocations: 151.4 kB / 0.7693 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003953/1.245, allocations: 424 kB / 0.7697 GB, free: 149.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/1.245, allocations: 181.3 kB / 0.7699 GB, free: 149.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005904/1.251, allocations: 4.254 MB / 0.7741 GB, free: 145.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.91e-07/1.251, allocations: 6 kB / 0.7741 GB, free: 145.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008335/1.259, allocations: 1.553 MB / 0.7756 GB, free: 144.2 MB / 0.5138 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.00551/1.265, allocations: 6.665 MB / 0.7821 GB, free: 136.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.008668/1.273, allocations: 6.63 MB / 0.7886 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.414e-05/1.274, allocations: 12.06 kB / 0.7886 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002024/1.276, allocations: 1.653 MB / 0.7902 GB, free: 128.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006164/1.282, allocations: 0.9901 MB / 0.7912 GB, free: 127.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1047/1.386, allocations: 93.57 MB / 0.8825 GB, free: 19.22 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009638/1.396, allocations: 5.809 MB / 0.8882 GB, free: 13.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008249/1.404, allocations: 2.888 MB / 0.891 GB, free: 10.51 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004543/1.409, allocations: 3.815 MB / 0.8948 GB, free: 6.691 MB / 0.5138 GB Notification: Performance of SimCode: time 1.082e-06/1.409, allocations: 3.938 kB / 0.8948 GB, free: 6.688 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3615/1.77, allocations: 111.3 MB / 1.004 GB, free: 145.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/12.85, allocations: 3.609 kB / 1.004 GB, free: 145.5 MB / 0.545 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches