Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.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.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",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.0008306/0.0008305, allocations: 88.19 kB / 15.7 MB, free: 460 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.001019/0.001019, allocations: 178.5 kB / 16.58 MB, free: 6.84 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.54/1.54, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.3767/0.3767, allocations: 43.55 MB / 314.6 MB, free: 9.023 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.0005177/0.0005179, allocations: 18.91 kB / 384 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1194, allocations: 58.85 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.2968/0.4162, allocations: 59.23 MB / 0.4903 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03373/0.4499, allocations: 14.23 MB / 0.5042 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01695/0.4669, allocations: 309 kB / 0.5045 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01309/0.48, allocations: 3.284 MB / 0.5077 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03114/0.5112, allocations: 9.228 MB / 0.5167 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008602/0.5198, allocations: 1.649 MB / 0.5184 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04097/0.5608, allocations: 27.38 MB / 0.5451 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05911/0.62, allocations: 36.68 MB / 0.5809 GB, free: 2.945 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007861/0.6279, allocations: 3.597 MB / 0.5844 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0104/0.6383, allocations: 5.896 MB / 0.5902 GB, free: 9.418 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002995/0.6413, allocations: 0.5234 MB / 0.5907 GB, free: 8.895 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006064/0.6474, allocations: 1.623 MB / 0.5923 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01036/0.6578, allocations: 6.129 MB / 0.5983 GB, free: 1.125 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008148/0.666, allocations: 3.228 MB / 0.6014 GB, free: 13.88 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03219/0.6982, allocations: 27.63 MB / 0.6284 GB, free: 2.195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.6983, allocations: 0 / 0.6284 GB, free: 2.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6983, allocations: 0 / 0.6284 GB, free: 2.195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001252/0.6995, allocations: 0 / 0.6284 GB, free: 2.195 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5715 * Number of variables: 5715 Notification: Performance of Generate backend data structure: time 0.495/1.195, allocations: 13.37 MB / 0.6415 GB, free: 126.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.195, allocations: 12.42 kB / 0.6415 GB, free: 126.7 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01036/1.205, allocations: 2.842 MB / 0.6442 GB, free: 126.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07098/1.276, allocations: 8.615 MB / 0.6527 GB, free: 124.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02109/1.297, allocations: 8.245 MB / 0.6607 GB, free: 120.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001726/1.299, allocations: 1.253 MB / 0.6619 GB, free: 120.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006565/1.305, allocations: 1.656 MB / 0.6635 GB, free: 119.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09358/1.399, allocations: 38.69 MB / 0.7013 GB, free: 90.03 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001171/1.4, allocations: 122.8 kB / 0.7014 GB, free: 89.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006301/1.407, allocations: 0.7374 MB / 0.7022 GB, free: 89.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004695/1.411, allocations: 3.96 MB / 0.706 GB, free: 85.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05874/1.47, allocations: 29.28 MB / 0.7346 GB, free: 56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7007/2.171, allocations: 123.2 MB / 0.8549 GB, free: 80.95 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03413/2.205, allocations: 12.97 MB / 0.8676 GB, free: 80.25 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004195/2.209, allocations: 3.683 MB / 0.8712 GB, free: 80.21 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009708/2.219, allocations: 15.19 MB / 0.886 GB, free: 67.66 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.095e-05/2.219, allocations: 69.36 kB / 0.8861 GB, free: 67.62 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=274): time 6.301e-06/2.219, allocations: 0 / 0.8861 GB, free: 67.62 MB / 0.5295 GB Notification: Performance of matching and sorting (n=309): time 0.1804/2.4, allocations: 77.82 MB / 0.9621 GB, free: 26.87 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/2.4, allocations: 212.1 kB / 0.9623 GB, free: 26.62 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01413/2.414, allocations: 10.67 MB / 0.9727 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.000569/2.414, allocations: 69.7 kB / 0.9728 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.005384/2.42, allocations: 11.07 MB / 0.9836 GB, free: 4.82 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001444/2.421, allocations: 1.358 MB / 0.9849 GB, free: 3.473 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/2.422, allocations: 371.1 kB / 0.9852 GB, free: 3.113 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0006218/2.423, allocations: 1.071 MB / 0.9863 GB, free: 2.035 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008791/2.432, allocations: 6.102 MB / 0.9922 GB, free: 11.93 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02005/2.452, allocations: 18.59 MB / 1.01 GB, free: 3.281 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01575/2.468, allocations: 10.65 MB / 1.021 GB, free: 9.012 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005408/2.468, allocations: 128 kB / 1.021 GB, free: 8.887 MB / 0.5764 GB Notification: Performance of matching and sorting (n=2352) (initialization): time 0.0463/2.514, allocations: 23.52 MB / 1.044 GB, free: 1.457 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007471/2.515, allocations: 196 kB / 1.044 GB, free: 1.266 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008364/2.516, allocations: 444 kB / 1.044 GB, free: 0.832 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/2.518, allocations: 0.8934 MB / 1.045 GB, free: 15.93 MB / 0.6077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01368/2.532, allocations: 4.398 MB / 1.05 GB, free: 11.53 MB / 0.6077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004897/2.537, allocations: 3.945 MB / 1.054 GB, free: 7.457 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/2.549, allocations: 1.069 MB / 1.055 GB, free: 6.391 MB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003105/2.552, allocations: 1.157 MB / 1.056 GB, free: 5.234 MB / 0.6077 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2039 * Number of states: 0 () * Number of discrete variables: 33 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (2306): * Single equations (assignments): 2298 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01392/2.566, allocations: 7.866 MB / 1.063 GB, free: 13.35 MB / 0.6233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/2.567, allocations: 0.8251 MB / 1.064 GB, free: 12.51 MB / 0.6233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/2.578, allocations: 6.224 MB / 1.07 GB, free: 6.242 MB / 0.6233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.555e-05/2.578, allocations: 36 kB / 1.07 GB, free: 6.207 MB / 0.6233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/2.578, allocations: 4 kB / 1.07 GB, free: 6.203 MB / 0.6233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.309e-05/2.578, allocations: 11.95 kB / 1.07 GB, free: 6.191 MB / 0.6233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2783/2.856, allocations: 21.35 MB / 1.091 GB, free: 220.5 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/2.856, allocations: 2.781 kB / 1.091 GB, free: 220.5 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/2.859, allocations: 0.6109 MB / 1.092 GB, free: 220.5 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00058/2.859, allocations: 239 kB / 1.092 GB, free: 220.4 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/2.86, allocations: 65.56 kB / 1.092 GB, free: 220.4 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/2.862, allocations: 2.519 MB / 1.095 GB, free: 218.6 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/2.862, allocations: 9.625 kB / 1.095 GB, free: 218.6 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/2.876, allocations: 10.27 MB / 1.105 GB, free: 214.6 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003734/2.879, allocations: 1.284 MB / 1.106 GB, free: 214.3 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002436/2.882, allocations: 52.91 kB / 1.106 GB, free: 214.3 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00435/2.886, allocations: 375.6 kB / 1.106 GB, free: 214.3 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005524/2.887, allocations: 177.1 kB / 1.106 GB, free: 214.2 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002738/2.887, allocations: 99.36 kB / 1.106 GB, free: 214.2 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.01411/2.901, allocations: 6.545 MB / 1.113 GB, free: 211.9 MB / 0.6233 GB Notification: Performance of sort global known variables: time 4.41e-07/2.901, allocations: 0 / 1.113 GB, free: 211.9 MB / 0.6233 GB Notification: Performance of remove unused functions: time 0.01505/2.916, allocations: 2.897 MB / 1.116 GB, free: 211.6 MB / 0.6233 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (rev.phi,rev.w) * 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 (279): * Single equations (assignments): 271 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01374/2.93, allocations: 11.07 MB / 1.127 GB, free: 207 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.01808/2.948, allocations: 13.58 MB / 1.14 GB, free: 202.1 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/2.948, allocations: 2.5 kB / 1.14 GB, free: 202.1 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.003718/2.952, allocations: 2.965 MB / 1.143 GB, free: 201 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008823/2.961, allocations: 1.429 MB / 1.144 GB, free: 200.4 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1509/3.112, allocations: 115.5 MB / 1.257 GB, free: 81.86 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01703/3.129, allocations: 10.46 MB / 1.267 GB, free: 71.35 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.0135/3.142, allocations: 5.363 MB / 1.272 GB, free: 65.98 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0091/3.151, allocations: 6.83 MB / 1.279 GB, free: 59.15 MB / 0.6233 GB Notification: Performance of SimCode: time 8.71e-07/3.151, allocations: 0 / 1.279 GB, free: 59.15 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5029/3.654, allocations: 203.6 MB / 1.478 GB, free: 101.3 MB / 0.6233 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/3.655, allocations: 221.6 kB / 1.478 GB, free: 101.1 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/10.81, allocations: 0 / 1.478 GB, free: 101.1 MB / 0.6233 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat