Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",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.0009622/0.0009622, allocations: 95.22 kB / 16.99 MB, free: 5.941 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.001036/0.001036, allocations: 181.3 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2065/0.2065, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003264, allocations: 8.688 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 61.91 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.02117/0.1424, allocations: 22.1 MB / 493.6 MB, free: 7.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.1572, allocations: 6.131 MB / 499.8 MB, free: 1.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005873/0.1631, allocations: 115.8 kB / 499.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00451/0.1677, allocations: 1.155 MB / 0.4893 GB, free: 88 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.1786, allocations: 3.116 MB / 0.4923 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.1812, allocations: 0.546 MB / 0.4929 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004426/0.1857, allocations: 1.972 MB / 0.4948 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00405/0.1897, allocations: 2.79 MB / 0.4975 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.1911, allocations: 0.8253 MB / 0.4983 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.1924, allocations: 1.066 MB / 0.4994 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003451/0.1927, allocations: 124 kB / 0.4995 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.1938, allocations: 0.5228 MB / 0.5 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.195, allocations: 1.336 MB / 0.5013 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007287/0.1957, allocations: 0.7686 MB / 0.5021 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2711/0.4668, allocations: 4.787 MB / 0.5067 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4669, allocations: 1.562 kB / 0.5067 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.4669, allocations: 0.8438 kB / 0.5067 GB, free: 15.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002984/0.4672, allocations: 0 / 0.5067 GB, free: 15.02 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01079/0.478, allocations: 3.406 MB / 0.5101 GB, free: 13.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.573e-05/0.4781, allocations: 10.84 kB / 0.5101 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003693/0.4818, allocations: 0.7241 MB / 0.5108 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01413/0.496, allocations: 3.648 MB / 0.5143 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005858/0.5019, allocations: 1.793 MB / 0.5161 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.5021, allocations: 199.1 kB / 0.5163 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/0.5039, allocations: 252.3 kB / 0.5165 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/0.5243, allocations: 10.23 MB / 0.5265 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.246e-05/0.5244, allocations: 31.94 kB / 0.5265 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005766/0.525, allocations: 128.6 kB / 0.5267 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003793/0.5288, allocations: 2.376 MB / 0.529 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01562/0.5444, allocations: 9.067 MB / 0.5378 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05043/0.5949, allocations: 38.19 MB / 0.5751 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005935/0.6009, allocations: 3.389 MB / 0.5784 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/0.611, allocations: 5.196 MB / 0.5835 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/0.6111, allocations: 46.31 kB / 0.5836 GB, free: 12.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 6.341e-06/0.6111, allocations: 0 / 0.5836 GB, free: 12.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.007613/0.6187, allocations: 3.837 MB / 0.5873 GB, free: 8.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.6189, allocations: 169.1 kB / 0.5875 GB, free: 8.344 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006032/0.6249, allocations: 3.855 MB / 0.5912 GB, free: 4.496 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003087/0.6253, allocations: 41.7 kB / 0.5913 GB, free: 4.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002477/0.6277, allocations: 3.224 MB / 0.5944 GB, free: 1.242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009295/0.6287, allocations: 0.6067 MB / 0.595 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.629, allocations: 123.6 kB / 0.5951 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004389/0.6294, allocations: 0.5907 MB / 0.5957 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002949/0.6324, allocations: 1.937 MB / 0.5976 GB, free: 13.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006032/0.6384, allocations: 6.107 MB / 0.6036 GB, free: 5.859 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005009/0.6434, allocations: 3.454 MB / 0.6069 GB, free: 2.543 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.594e-05/0.6435, allocations: 40 kB / 0.607 GB, free: 2.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.0144/0.6579, allocations: 7.704 MB / 0.6145 GB, free: 11.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.6581, allocations: 68 kB / 0.6146 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001819/0.6583, allocations: 156.9 kB / 0.6147 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.6585, allocations: 216.3 kB / 0.6149 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004729/0.6632, allocations: 1.466 MB / 0.6164 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002641/0.6635, allocations: 290.9 kB / 0.6166 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005138/0.6687, allocations: 0.9218 MB / 0.6175 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009298/0.6696, allocations: 401.8 kB / 0.6179 GB, free: 7.898 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (797): * Single equations (assignments): 789 * Array equations: 8 * 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.004267/0.6739, allocations: 2.233 MB / 0.6201 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006359/0.6746, allocations: 311.9 kB / 0.6204 GB, free: 5.348 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007122/0.6753, allocations: 411.4 kB / 0.6208 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.08e-05/0.6754, allocations: 35.98 kB / 0.6208 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/0.6754, allocations: 4 kB / 0.6208 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.6754, allocations: 3.984 kB / 0.6208 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/0.6867, allocations: 5.532 MB / 0.6262 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/0.6868, allocations: 8 kB / 0.6262 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.6879, allocations: 203.6 kB / 0.6264 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.586e-05/0.6879, allocations: 15.95 kB / 0.6264 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.688, allocations: 30.38 kB / 0.6265 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-05/0.6881, allocations: 20.45 kB / 0.6265 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/0.6881, allocations: 7.938 kB / 0.6265 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004188/0.6923, allocations: 3.108 MB / 0.6295 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.6936, allocations: 384.6 kB / 0.6299 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004181/0.694, allocations: 24 kB / 0.6299 GB, free: 11.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.6951, allocations: 75.28 kB / 0.63 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.6953, allocations: 76.38 kB / 0.6301 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/0.6955, allocations: 47.98 kB / 0.6301 GB, free: 11.07 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005817/0.7013, allocations: 2.339 MB / 0.6324 GB, free: 8.742 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7013, allocations: 0 / 0.6324 GB, free: 8.742 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007579/0.7089, allocations: 1.105 MB / 0.6335 GB, free: 7.641 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (108): * Single equations (assignments): 102 * Array equations: 6 * 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.005377/0.7143, allocations: 5.085 MB / 0.6384 GB, free: 2.371 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008442/0.7228, allocations: 4.411 MB / 0.6428 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/0.7229, allocations: 0 / 0.6428 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.7241, allocations: 0.9433 MB / 0.6437 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.7262, allocations: 335.4 kB / 0.644 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2681/0.9943, allocations: 120.9 MB / 0.762 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006175/1, allocations: 3.284 MB / 0.7652 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006503/1.007, allocations: 2.24 MB / 0.7674 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002391/1.009, allocations: 1.698 MB / 0.7691 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/1.009, allocations: 0 / 0.7691 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08601/1.095, allocations: 63.3 MB / 0.8309 GB, free: 74.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001213/1.096, allocations: 187.1 kB / 0.8311 GB, free: 74.45 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.814/4.91, allocations: 0 / 0.8311 GB, free: 74.45 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat