Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_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.000972/0.0009722, 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.001093/0.001094, allocations: 176 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.552/1.552, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3458/0.3458, allocations: 43.55 MB / 314.6 MB, free: 9.008 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.0005056/0.0005057, allocations: 12.22 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1202, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2633/0.3836, allocations: 23.7 MB / 466.6 MB, free: 35.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.3965, allocations: 5.944 MB / 472.5 MB, free: 34.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005769/0.4024, allocations: 116.4 kB / 472.6 MB, free: 34.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003589/0.406, allocations: 1.117 MB / 473.8 MB, free: 33.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008723/0.4147, allocations: 3.368 MB / 477.1 MB, free: 32.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.4159, allocations: 220.1 kB / 477.3 MB, free: 32.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004494/0.4204, allocations: 3.971 MB / 481.3 MB, free: 31.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003624/0.424, allocations: 2.834 MB / 484.1 MB, free: 29.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.4259, allocations: 1.047 MB / 485.2 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.4277, allocations: 1.602 MB / 486.8 MB, free: 29.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003538/0.428, allocations: 130 kB / 486.9 MB, free: 29.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.4291, allocations: 0.5328 MB / 487.5 MB, free: 28.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.4304, allocations: 1.489 MB / 488.9 MB, free: 28.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.4311, allocations: 0.7854 MB / 489.7 MB, free: 27.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007145/0.4382, allocations: 4.966 MB / 494.7 MB, free: 26.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4382, allocations: 3.938 kB / 494.7 MB, free: 26.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4383, allocations: 0 / 494.7 MB, free: 26.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002587/0.4385, allocations: 0 / 494.7 MB, free: 26.9 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.009159/0.4477, allocations: 3.454 MB / 498.2 MB, free: 24.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4477, allocations: 8.844 kB / 498.2 MB, free: 24.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001889/0.4496, allocations: 0.7495 MB / 498.9 MB, free: 24.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00983/0.4595, allocations: 3.098 MB / 0.4902 GB, free: 23.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004871/0.4644, allocations: 1.835 MB / 0.492 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.4646, allocations: 201.6 kB / 0.4922 GB, free: 21.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006402/0.4652, allocations: 258 kB / 0.4925 GB, free: 21.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/0.4835, allocations: 10.51 MB / 0.5027 GB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.212e-05/0.4836, allocations: 36.12 kB / 0.5028 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003985/0.4841, allocations: 131.1 kB / 0.5029 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003448/0.4875, allocations: 2.435 MB / 0.5053 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/0.5042, allocations: 9.317 MB / 0.5144 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05853/0.5627, allocations: 38.93 MB / 0.5524 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006099/0.5689, allocations: 3.491 MB / 0.5558 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/0.5709, allocations: 1.262 MB / 0.557 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.581, allocations: 5.454 MB / 0.5624 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.5811, allocations: 58.95 kB / 0.5624 GB, free: 3.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 6.071e-06/0.5811, allocations: 0 / 0.5624 GB, free: 3.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.007134/0.5882, allocations: 3.352 MB / 0.5657 GB, free: 152 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.5884, allocations: 170.7 kB / 0.5659 GB, free: 15.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00871/0.5971, allocations: 3.936 MB / 0.5697 GB, free: 12.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.5972, allocations: 41.7 kB / 0.5697 GB, free: 11.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002831/0.6, allocations: 3.312 MB / 0.573 GB, free: 8.605 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007513/0.6008, allocations: 0.6252 MB / 0.5736 GB, free: 7.973 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005365/0.6013, allocations: 124 kB / 0.5737 GB, free: 7.852 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0007481/0.6021, allocations: 0.595 MB / 0.5743 GB, free: 7.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003579/0.6057, allocations: 1.981 MB / 0.5762 GB, free: 5.266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006368/0.6121, allocations: 6.28 MB / 0.5823 GB, free: 12.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005478/0.6176, allocations: 3.519 MB / 0.5858 GB, free: 9.316 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/0.6177, allocations: 44 kB / 0.5858 GB, free: 9.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01443/0.6322, allocations: 7.877 MB / 0.5935 GB, free: 1.387 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.6324, allocations: 72 kB / 0.5936 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002724/0.6327, allocations: 160.1 kB / 0.5937 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/0.6329, allocations: 220 kB / 0.5939 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004552/0.6375, allocations: 1.513 MB / 0.5954 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002959/0.6378, allocations: 298.9 kB / 0.5957 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005791/0.6436, allocations: 0.9431 MB / 0.5966 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/0.6447, allocations: 416 kB / 0.597 GB, free: 13.78 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.005848/0.6506, allocations: 2.288 MB / 0.5993 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008048/0.6514, allocations: 319.8 kB / 0.5996 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.6526, allocations: 424.2 kB / 0.6 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.465e-05/0.6527, allocations: 39.94 kB / 0.6 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.349e-05/0.6527, allocations: 4.469 kB / 0.6 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.6527, allocations: 3.984 kB / 0.6 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.666, allocations: 5.689 MB / 0.6056 GB, free: 4.879 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/0.6661, allocations: 12.03 kB / 0.6056 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.6671, allocations: 207.7 kB / 0.6058 GB, free: 4.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.707e-05/0.6671, allocations: 15.94 kB / 0.6058 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.6673, allocations: 32 kB / 0.6058 GB, free: 4.617 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.022e-05/0.6673, allocations: 11.94 kB / 0.6058 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/0.6673, allocations: 11.95 kB / 0.6059 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/0.6709, allocations: 2.574 MB / 0.6084 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.672, allocations: 400.5 kB / 0.6087 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009296/0.673, allocations: 24 kB / 0.6088 GB, free: 1.488 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/0.6744, allocations: 68.22 kB / 0.6088 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.6746, allocations: 88.27 kB / 0.6089 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.6747, allocations: 47.97 kB / 0.609 GB, free: 1.289 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005438/0.6802, allocations: 2.395 MB / 0.6113 GB, free: 14.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6802, allocations: 0 / 0.6113 GB, free: 14.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006676/0.6869, allocations: 1.129 MB / 0.6124 GB, free: 13.78 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.004087/0.691, allocations: 3.215 MB / 0.6155 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008478/0.6995, allocations: 4.491 MB / 0.6199 GB, free: 5.992 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.6995, allocations: 4 kB / 0.6199 GB, free: 5.988 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.7009, allocations: 0.9571 MB / 0.6209 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/0.7044, allocations: 351.1 kB / 0.6212 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.305/1.009, allocations: 30.64 MB / 0.6511 GB, free: 146.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003194/1.013, allocations: 3.277 MB / 0.6543 GB, free: 145.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004902/1.018, allocations: 2.276 MB / 0.6565 GB, free: 145.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002225/1.02, allocations: 1.758 MB / 0.6583 GB, free: 145 MB / 0.4981 GB Notification: Performance of SimCode: time 1.302e-06/1.02, allocations: 0 / 0.6583 GB, free: 145 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/1.128, allocations: 65.35 MB / 0.7221 GB, free: 102 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/1.128, allocations: 180.6 kB / 0.7223 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.315/4.443, allocations: 4.062 kB / 0.7223 GB, free: 101.8 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat