Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",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.0008289/0.0008288, allocations: 96.7 kB / 15.7 MB, free: 468 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.0009365/0.0009365, allocations: 177.4 kB / 16.58 MB, free: 6.062 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.421/1.421, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.3673/0.3673, allocations: 43.54 MB / 314.6 MB, free: 8.977 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.0005543/0.0005544, allocations: 16 kB / 384 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1132, allocations: 58.85 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2366/0.3498, allocations: 35.28 MB / 478.1 MB, free: 30.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.3635, allocations: 7.311 MB / 485.5 MB, free: 25.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005983/0.3695, allocations: 159.6 kB / 485.6 MB, free: 25.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004045/0.3735, allocations: 1.519 MB / 487.1 MB, free: 24.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01262/0.3862, allocations: 4.466 MB / 491.6 MB, free: 22.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.3878, allocations: 248.1 kB / 491.8 MB, free: 22.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003884/0.3917, allocations: 2.823 MB / 494.7 MB, free: 21.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004278/0.396, allocations: 3.035 MB / 497.7 MB, free: 20.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.3973, allocations: 0.7444 MB / 498.4 MB, free: 20.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.3992, allocations: 1.144 MB / 499.6 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.3995, allocations: 97.91 kB / 499.7 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.4007, allocations: 0.5316 MB / 0.4885 GB, free: 19.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.4019, allocations: 1.072 MB / 0.4895 GB, free: 19.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004566/0.4023, allocations: 0.5693 MB / 0.4901 GB, free: 19.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004665/0.407, allocations: 3.72 MB / 0.4937 GB, free: 18.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.407, allocations: 4 kB / 0.4937 GB, free: 18.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4071, allocations: 0 / 0.4937 GB, free: 18.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001493/0.4072, allocations: 0 / 0.4937 GB, free: 18.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.005232/0.4124, allocations: 2.616 MB / 0.4963 GB, free: 16.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4125, allocations: 9.781 kB / 0.4963 GB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006067/0.4131, allocations: 0.5234 MB / 0.4968 GB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004806/0.4179, allocations: 1.666 MB / 0.4984 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.42, allocations: 1.386 MB / 0.4998 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-05/0.4201, allocations: 159.6 kB / 0.4999 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000335/0.4205, allocations: 200.7 kB / 0.5001 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009441/0.4299, allocations: 6.954 MB / 0.5069 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/0.43, allocations: 16.83 kB / 0.5069 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/0.4303, allocations: 102.4 kB / 0.507 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002222/0.4325, allocations: 1.525 MB / 0.5085 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009884/0.4424, allocations: 5.921 MB / 0.5143 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02614/0.4686, allocations: 22.23 MB / 0.536 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004114/0.4727, allocations: 2.187 MB / 0.5382 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.4738, allocations: 0.8011 MB / 0.5389 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00589/0.4797, allocations: 3.971 MB / 0.5428 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.4797, allocations: 39.22 kB / 0.5428 GB, free: 8.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.865e-06/0.4797, allocations: 0 / 0.5428 GB, free: 8.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.005204/0.4849, allocations: 2.248 MB / 0.545 GB, free: 6.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.485, allocations: 64 kB / 0.5451 GB, free: 6.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.4877, allocations: 2.041 MB / 0.5471 GB, free: 4.156 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.4878, allocations: 41.7 kB / 0.5471 GB, free: 4.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.489, allocations: 2.007 MB / 0.5491 GB, free: 2.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.4893, allocations: 383.1 kB / 0.5495 GB, free: 1.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.4894, allocations: 64 kB / 0.5495 GB, free: 1.629 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002528/0.4896, allocations: 0.4941 MB / 0.55 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.4911, allocations: 0.9863 MB / 0.551 GB, free: 140 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002608/0.4937, allocations: 2.988 MB / 0.5539 GB, free: 12.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.4959, allocations: 1.706 MB / 0.5556 GB, free: 10.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.505e-05/0.496, allocations: 24 kB / 0.5556 GB, free: 10.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005545/0.5015, allocations: 3.866 MB / 0.5594 GB, free: 6.555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.5016, allocations: 36.94 kB / 0.5594 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-05/0.5017, allocations: 68 kB / 0.5595 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.5018, allocations: 108 kB / 0.5596 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.5037, allocations: 0.7291 MB / 0.5603 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001034/0.5039, allocations: 139.4 kB / 0.5604 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.5058, allocations: 455.2 kB / 0.5608 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/0.5061, allocations: 204 kB / 0.561 GB, free: 4.832 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 396 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00264/0.5087, allocations: 1.462 MB / 0.5625 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/0.509, allocations: 177.7 kB / 0.5626 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.5113, allocations: 1.233 MB / 0.5638 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.5113, allocations: 8 kB / 0.5638 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.5113, allocations: 4 kB / 0.5638 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.5113, allocations: 3.984 kB / 0.5638 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007944/0.5193, allocations: 5.026 MB / 0.5688 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.5193, allocations: 11.94 kB / 0.5688 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005411/0.5199, allocations: 143.7 kB / 0.5689 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.828e-05/0.5199, allocations: 15.95 kB / 0.5689 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.52, allocations: 28 kB / 0.5689 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.68e-05/0.52, allocations: 23.92 kB / 0.569 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/0.52, allocations: 15.94 kB / 0.569 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.5218, allocations: 1.571 MB / 0.5705 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/0.5222, allocations: 278.5 kB / 0.5708 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.5224, allocations: 31.95 kB / 0.5708 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.523, allocations: 39.88 kB / 0.5708 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5231, allocations: 79.72 kB / 0.5709 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.5232, allocations: 39.98 kB / 0.571 GB, free: 10.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001866/0.525, allocations: 1.329 MB / 0.5723 GB, free: 8.906 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.525, allocations: 0 / 0.5723 GB, free: 8.906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002886/0.5279, allocations: 0.7776 MB / 0.573 GB, free: 8.125 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002304/0.5302, allocations: 2.187 MB / 0.5752 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0035/0.5338, allocations: 2.275 MB / 0.5774 GB, free: 3.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5338, allocations: 0.875 kB / 0.5774 GB, free: 3.523 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007886/0.5346, allocations: 0.5614 MB / 0.5779 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.5361, allocations: 268.1 kB / 0.5782 GB, free: 2.703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0272/0.5633, allocations: 17.01 MB / 0.5948 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002593/0.5659, allocations: 2.454 MB / 0.5972 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002462/0.5684, allocations: 1.043 MB / 0.5982 GB, free: 12.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/0.5698, allocations: 1.171 MB / 0.5994 GB, free: 11.19 MB / 478.1 MB Notification: Performance of SimCode: time 1.143e-06/0.5698, allocations: 0 / 0.5994 GB, free: 11.19 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06232/0.6322, allocations: 39.77 MB / 0.6382 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.6324, allocations: 181.8 kB / 0.6384 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/3.333, allocations: 0 / 0.6384 GB, free: 3.227 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat