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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001855/0.001855, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 71.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3188, allocations: 62.43 MB / 0.5305 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01581/0.3346, allocations: 14.99 MB / 0.5452 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.347, allocations: 5.039 MB / 0.5501 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.3506, allocations: 119.6 kB / 0.5502 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.3618, allocations: 5.974 MB / 0.556 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007467/0.3693, allocations: 2.735 MB / 0.5587 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00373/0.3731, allocations: 1.583 MB / 0.5602 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0105/0.3836, allocations: 7.787 MB / 0.5678 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00895/0.3926, allocations: 7.38 MB / 0.575 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004571/0.3972, allocations: 2.933 MB / 0.5779 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00528/0.4025, allocations: 3.793 MB / 0.5816 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001683/0.4042, allocations: 0.5742 MB / 0.5822 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.4074, allocations: 1.393 MB / 0.5835 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003894/0.4113, allocations: 3.527 MB / 0.587 GB, free: 7.879 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005474/0.4168, allocations: 3.849 MB / 0.5907 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.4292, allocations: 11.63 MB / 0.6021 GB, free: 8.336 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4293, allocations: 0 / 0.6021 GB, free: 8.336 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4293, allocations: 0 / 0.6021 GB, free: 8.336 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003451/0.4296, allocations: 0 / 0.6021 GB, free: 8.336 MB / 462.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.01798/0.4476, allocations: 8.495 MB / 0.6104 GB, free: 15.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.4477, allocations: 12.03 kB / 0.6104 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002607/0.4503, allocations: 1.17 MB / 0.6115 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.4607, allocations: 2.514 MB / 0.614 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.4711, allocations: 5.406 MB / 0.6193 GB, free: 6.555 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003786/0.4715, allocations: 426.6 kB / 0.6197 GB, free: 6.137 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001684/0.4732, allocations: 0.5387 MB / 0.6202 GB, free: 5.598 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03051/0.5037, allocations: 16.68 MB / 0.6365 GB, free: 3.797 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002798/0.504, allocations: 71.41 kB / 0.6366 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001508/0.5055, allocations: 259.8 kB / 0.6368 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004307/0.5098, allocations: 2.931 MB / 0.6397 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02649/0.5364, allocations: 12.79 MB / 0.6522 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08014/0.6165, allocations: 63.97 MB / 0.7146 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.43/1.047, allocations: 5.374 MB / 0.7199 GB, free: 160.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002893/1.05, allocations: 2.117 MB / 0.722 GB, free: 159.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01549/1.065, allocations: 9.918 MB / 0.7316 GB, free: 154.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/1.065, allocations: 61.52 kB / 0.7317 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.931e-06/1.065, allocations: 0 / 0.7317 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03441/1.1, allocations: 13.98 MB / 0.7454 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/1.1, allocations: 156.1 kB / 0.7455 GB, free: 149 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008813/1.109, allocations: 6.319 MB / 0.7517 GB, free: 143.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003466/1.109, allocations: 53.7 kB / 0.7517 GB, free: 143.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002537/1.111, allocations: 5.081 MB / 0.7567 GB, free: 138.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006166/1.112, allocations: 0.8192 MB / 0.7575 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/1.114, allocations: 1.653 MB / 0.7591 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.669e-05/1.114, allocations: 305.1 kB / 0.7594 GB, free: 135.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/1.116, allocations: 2.295 MB / 0.7616 GB, free: 133.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004093/1.12, allocations: 7.637 MB / 0.7691 GB, free: 123.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007431/1.128, allocations: 10.81 MB / 0.7796 GB, free: 109.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/1.128, allocations: 56 kB / 0.7797 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01347/1.141, allocations: 9.562 MB / 0.789 GB, free: 100.3 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.142, allocations: 88.22 kB / 0.7891 GB, free: 100.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001929/1.142, allocations: 192.2 kB / 0.7893 GB, free: 100 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/1.142, allocations: 255.9 kB / 0.7896 GB, free: 99.76 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005165/1.147, allocations: 1.906 MB / 0.7914 GB, free: 97.85 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001996/1.147, allocations: 369.2 kB / 0.7918 GB, free: 97.49 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005345/1.153, allocations: 411.5 kB / 0.7922 GB, free: 97.09 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009872/1.154, allocations: 0.5112 MB / 0.7927 GB, free: 96.58 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.004619/1.158, allocations: 3.288 MB / 0.7959 GB, free: 93.28 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009218/1.159, allocations: 0.5244 MB / 0.7964 GB, free: 92.75 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/1.16, allocations: 0.6282 MB / 0.797 GB, free: 92.11 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.134e-05/1.161, allocations: 24 kB / 0.797 GB, free: 92.09 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/1.161, allocations: 0 / 0.797 GB, free: 92.09 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.161, allocations: 7.969 kB / 0.797 GB, free: 92.08 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02009/1.181, allocations: 15 MB / 0.8117 GB, free: 76.41 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.231e-05/1.181, allocations: 47.94 kB / 0.8117 GB, free: 76.36 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/1.182, allocations: 451.1 kB / 0.8121 GB, free: 75.92 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-05/1.182, allocations: 60 kB / 0.8122 GB, free: 75.86 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/1.182, allocations: 96 kB / 0.8123 GB, free: 75.77 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.006e-05/1.182, allocations: 91.64 kB / 0.8124 GB, free: 75.68 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.618e-05/1.182, allocations: 76.22 kB / 0.8125 GB, free: 75.6 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/1.186, allocations: 4.301 MB / 0.8167 GB, free: 70.59 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.187, allocations: 0.6304 MB / 0.8173 GB, free: 69.93 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008783/1.188, allocations: 108 kB / 0.8174 GB, free: 69.83 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/1.191, allocations: 108 kB / 0.8175 GB, free: 69.72 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/1.191, allocations: 310.5 kB / 0.8178 GB, free: 69.42 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.191, allocations: 135.3 kB / 0.8179 GB, free: 69.29 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006009/1.197, allocations: 3.948 MB / 0.8218 GB, free: 65.35 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9.01e-07/1.197, allocations: 0 / 0.8218 GB, free: 65.35 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007474/1.205, allocations: 1.307 MB / 0.823 GB, free: 64.05 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.004787/1.209, allocations: 5.036 MB / 0.828 GB, free: 58.32 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007291/1.217, allocations: 5.415 MB / 0.8332 GB, free: 52.97 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.43e-05/1.217, allocations: 8.875 kB / 0.8333 GB, free: 52.96 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.218, allocations: 1.205 MB / 0.8344 GB, free: 51.77 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005117/1.223, allocations: 0.8847 MB / 0.8353 GB, free: 50.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08466/1.308, allocations: 65.5 MB / 0.8993 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009922/1.318, allocations: 5.072 MB / 0.9042 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006856/1.325, allocations: 2.542 MB / 0.9067 GB, free: 444 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004825/1.33, allocations: 3.295 MB / 0.9099 GB, free: 13.16 MB / 0.6076 GB Notification: Performance of SimCode: time 8.52e-07/1.33, allocations: 4 kB / 0.9099 GB, free: 13.15 MB / 0.6076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3907/1.721, allocations: 94.12 MB / 1.002 GB, free: 190.5 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.6/28.33, allocations: 9.906 kB / 1.002 GB, free: 190.5 MB / 0.6388 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches