Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",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.001076/0.001077, allocations: 95.89 kB / 15.68 MB, free: 488 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.0011/0.0011, allocations: 179.6 kB / 16.57 MB, free: 6.844 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.65/1.65, allocations: 205.4 MB / 222.7 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.354/0.354, allocations: 43.54 MB / 314.5 MB, free: 8.754 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.0005494/0.0005496, allocations: 20 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1444, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.278/0.4225, allocations: 32.99 MB / 475.8 MB, free: 31.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01931/0.4418, allocations: 7.579 MB / 483.4 MB, free: 26.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008834/0.4507, allocations: 160.1 kB / 483.6 MB, free: 26.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006526/0.4573, allocations: 1.664 MB / 485.2 MB, free: 25.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01666/0.474, allocations: 4.785 MB / 490 MB, free: 23.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.476, allocations: 220.5 kB / 490.2 MB, free: 23.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003251/0.4792, allocations: 1.34 MB / 491.6 MB, free: 22.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003798/0.4831, allocations: 3.001 MB / 494.6 MB, free: 21.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008482/0.4839, allocations: 0.5891 MB / 495.2 MB, free: 21.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.485, allocations: 0.7612 MB / 495.9 MB, free: 21.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003331/0.4854, allocations: 95.34 kB / 496 MB, free: 21.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.4865, allocations: 0.5184 MB / 496.5 MB, free: 21.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009611/0.4875, allocations: 0.9721 MB / 497.5 MB, free: 20.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005467/0.4881, allocations: 0.5502 MB / 498.1 MB, free: 20.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005298/0.4934, allocations: 3.61 MB / 0.4899 GB, free: 19.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4934, allocations: 0 / 0.4899 GB, free: 19.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4934, allocations: 9.281 kB / 0.4899 GB, free: 19.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001777/0.4936, allocations: 0 / 0.4899 GB, free: 19.61 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.007213/0.5008, allocations: 2.605 MB / 0.4925 GB, free: 18.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.5009, allocations: 10.28 kB / 0.4925 GB, free: 18.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001561/0.5025, allocations: 0.5099 MB / 0.493 GB, free: 17.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007069/0.5096, allocations: 1.932 MB / 0.4949 GB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004299/0.5139, allocations: 1.369 MB / 0.4962 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.5141, allocations: 164.4 kB / 0.4964 GB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007414/0.5148, allocations: 197.7 kB / 0.4965 GB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/0.5279, allocations: 6.804 MB / 0.5032 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.326e-05/0.528, allocations: 18.11 kB / 0.5032 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003038/0.5283, allocations: 93.05 kB / 0.5033 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002588/0.5309, allocations: 1.475 MB / 0.5047 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01312/0.544, allocations: 5.835 MB / 0.5104 GB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03342/0.5775, allocations: 21.64 MB / 0.5316 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0051/0.5826, allocations: 2.244 MB / 0.5338 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007997/0.5907, allocations: 3.78 MB / 0.5374 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.5908, allocations: 39.12 kB / 0.5375 GB, free: 13.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 4.599e-06/0.5908, allocations: 0 / 0.5375 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.006209/0.597, allocations: 2.453 MB / 0.5399 GB, free: 11.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.5971, allocations: 55.97 kB / 0.5399 GB, free: 11.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00348/0.6006, allocations: 2.016 MB / 0.5419 GB, free: 9.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.6007, allocations: 37.7 kB / 0.5419 GB, free: 9.098 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001774/0.6025, allocations: 1.957 MB / 0.5438 GB, free: 7.109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004799/0.603, allocations: 363.3 kB / 0.5442 GB, free: 6.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.6031, allocations: 64 kB / 0.5443 GB, free: 6.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003274/0.6035, allocations: 0.4939 MB / 0.5447 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.6051, allocations: 0.9549 MB / 0.5457 GB, free: 5.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003392/0.6085, allocations: 2.902 MB / 0.5485 GB, free: 1.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002483/0.611, allocations: 1.669 MB / 0.5501 GB, free: 15.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.252e-05/0.611, allocations: 20 kB / 0.5501 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.00643/0.6175, allocations: 3.754 MB / 0.5538 GB, free: 11.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.218e-05/0.6176, allocations: 39.94 kB / 0.5539 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.536e-05/0.6177, allocations: 72.09 kB / 0.5539 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/0.6178, allocations: 104 kB / 0.554 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/0.62, allocations: 0.7135 MB / 0.5547 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001581/0.6201, allocations: 135.4 kB / 0.5548 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.6226, allocations: 447.3 kB / 0.5553 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/0.6229, allocations: 196 kB / 0.5555 GB, free: 10.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (391): * Single equations (assignments): 386 * 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.002918/0.6258, allocations: 1.427 MB / 0.5569 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/0.6261, allocations: 169.8 kB / 0.557 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.6282, allocations: 1.185 MB / 0.5582 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/0.6282, allocations: 23.94 kB / 0.5582 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6282, allocations: 4 kB / 0.5582 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.6282, allocations: 3.984 kB / 0.5582 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009399/0.6376, allocations: 4.974 MB / 0.5631 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.6377, allocations: 8 kB / 0.5631 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.6382, allocations: 127.8 kB / 0.5632 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.072e-05/0.6383, allocations: 16 kB / 0.5632 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.6383, allocations: 24 kB / 0.5632 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-05/0.6384, allocations: 19.92 kB / 0.5632 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.6384, allocations: 16.38 kB / 0.5633 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/0.6408, allocations: 2.192 MB / 0.5654 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/0.6414, allocations: 274.5 kB / 0.5657 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.6416, allocations: 23.98 kB / 0.5657 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/0.6422, allocations: 43.86 kB / 0.5657 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.6423, allocations: 83.64 kB / 0.5658 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.508e-05/0.6424, allocations: 32 kB / 0.5658 GB, free: 14.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002455/0.6448, allocations: 1.316 MB / 0.5671 GB, free: 13.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6449, allocations: 0 / 0.5671 GB, free: 13.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003395/0.6483, allocations: 0.7428 MB / 0.5679 GB, free: 12.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.003925/0.6522, allocations: 5.26 MB / 0.573 GB, free: 7.254 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.6561, allocations: 2.208 MB / 0.5751 GB, free: 5.066 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/0.6561, allocations: 4 kB / 0.5751 GB, free: 5.062 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007282/0.6568, allocations: 0.5337 MB / 0.5757 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.6582, allocations: 236.8 kB / 0.5759 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03889/0.6971, allocations: 57.71 MB / 0.6322 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003122/0.7002, allocations: 2.465 MB / 0.6347 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002729/0.703, allocations: 1.016 MB / 0.6356 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/0.7049, allocations: 1.136 MB / 0.6368 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of SimCode: time 1.603e-06/0.705, allocations: 0 / 0.6368 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2917/0.9967, allocations: 38.34 MB / 0.6742 GB, free: 154.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.9969, allocations: 173 kB / 0.6744 GB, free: 154.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.121/4.118, allocations: 0 / 0.6744 GB, free: 154.1 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat