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.001002/0.001002, allocations: 96.98 kB / 15.69 MB, free: 480 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.001244/0.001244, allocations: 171.1 kB / 16.57 MB, free: 6.391 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.59/1.59, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.4095/0.4095, allocations: 43.54 MB / 314.5 MB, free: 9.043 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.0006093/0.0006097, allocations: 14.97 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.142, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.2597/0.4017, allocations: 22.43 MB / 465.3 MB, free: 35.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01658/0.4184, allocations: 6.147 MB / 471.4 MB, free: 34.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005767/0.4242, allocations: 113.4 kB / 471.5 MB, free: 34.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004274/0.4285, allocations: 1.172 MB / 472.7 MB, free: 33.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.4414, allocations: 3.139 MB / 475.8 MB, free: 32.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.4445, allocations: 0.5453 MB / 476.4 MB, free: 32.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005431/0.4499, allocations: 2.034 MB / 478.4 MB, free: 31.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005338/0.4553, allocations: 2.825 MB / 481.2 MB, free: 30.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.4575, allocations: 0.8607 MB / 482.1 MB, free: 30.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.4596, allocations: 1.121 MB / 483.2 MB, free: 30.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009349/0.4606, allocations: 131.5 kB / 483.4 MB, free: 30.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.4624, allocations: 0.5183 MB / 483.9 MB, free: 29.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001928/0.4644, allocations: 1.38 MB / 485.3 MB, free: 29.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.4658, allocations: 0.7873 MB / 486 MB, free: 28.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007811/0.4736, allocations: 4.964 MB / 491 MB, free: 27.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4737, allocations: 0 / 491 MB, free: 27.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4737, allocations: 0 / 491 MB, free: 27.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003009/0.474, allocations: 1.344 kB / 491 MB, free: 27.94 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.01179/0.4858, allocations: 3.503 MB / 494.5 MB, free: 25.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.4859, allocations: 9.281 kB / 494.5 MB, free: 25.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003012/0.4889, allocations: 0.7491 MB / 495.3 MB, free: 25.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/0.5027, allocations: 3.659 MB / 498.9 MB, free: 24.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006817/0.5096, allocations: 1.835 MB / 0.489 GB, free: 23.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.5098, allocations: 202.7 kB / 0.4892 GB, free: 23.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00124/0.5111, allocations: 257.6 kB / 0.4895 GB, free: 23.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.5301, allocations: 10.54 MB / 0.4997 GB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.614e-05/0.5302, allocations: 32.53 kB / 0.4998 GB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004688/0.5307, allocations: 134.9 kB / 0.4999 GB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00416/0.5349, allocations: 2.431 MB / 0.5023 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01696/0.5519, allocations: 9.36 MB / 0.5114 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05398/0.6059, allocations: 38.96 MB / 0.5495 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006244/0.6122, allocations: 3.499 MB / 0.5529 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.6225, allocations: 5.47 MB / 0.5582 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.6226, allocations: 47.12 kB / 0.5583 GB, free: 7.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 5.52e-06/0.6226, allocations: 0 / 0.5583 GB, free: 7.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=153): time 0.007516/0.6301, allocations: 3.874 MB / 0.5621 GB, free: 3.531 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.6303, allocations: 166.8 kB / 0.5622 GB, free: 3.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006702/0.637, allocations: 3.94 MB / 0.5661 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002234/0.6372, allocations: 45.7 kB / 0.5661 GB, free: 15.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002506/0.6397, allocations: 3.316 MB / 0.5694 GB, free: 11.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000822/0.6406, allocations: 0.6213 MB / 0.57 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.6408, allocations: 128 kB / 0.5701 GB, free: 11.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005772/0.6414, allocations: 0.595 MB / 0.5707 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/0.6445, allocations: 1.973 MB / 0.5726 GB, free: 8.648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007405/0.6519, allocations: 6.257 MB / 0.5787 GB, free: 248 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006817/0.6587, allocations: 3.523 MB / 0.5821 GB, free: 12.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.413e-05/0.6589, allocations: 47.98 kB / 0.5822 GB, free: 12.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01843/0.6773, allocations: 7.876 MB / 0.5899 GB, free: 4.793 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.6775, allocations: 72 kB / 0.5899 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004232/0.678, allocations: 152 kB / 0.5901 GB, free: 4.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000382/0.6784, allocations: 228.7 kB / 0.5903 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005504/0.6839, allocations: 1.513 MB / 0.5918 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003365/0.6843, allocations: 302.8 kB / 0.5921 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006168/0.6905, allocations: 0.9392 MB / 0.593 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/0.6916, allocations: 416 kB / 0.5934 GB, free: 1.184 MB / 462.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.005493/0.6971, allocations: 2.28 MB / 0.5956 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008369/0.698, allocations: 315.8 kB / 0.5959 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.6992, allocations: 428.2 kB / 0.5963 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000112/0.6993, allocations: 35.94 kB / 0.5964 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/0.6993, allocations: 4 kB / 0.5964 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.6994, allocations: 3.984 kB / 0.5964 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.7123, allocations: 5.692 MB / 0.6019 GB, free: 8.293 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/0.7123, allocations: 4 kB / 0.6019 GB, free: 8.289 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.7134, allocations: 220.3 kB / 0.6021 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.356e-05/0.7134, allocations: 15.98 kB / 0.6022 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.7136, allocations: 35.98 kB / 0.6022 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.7136, allocations: 8 kB / 0.6022 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.7136, allocations: 15.89 kB / 0.6022 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003983/0.7176, allocations: 3.241 MB / 0.6054 GB, free: 4.523 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.7188, allocations: 392.5 kB / 0.6057 GB, free: 4.117 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008005/0.7196, allocations: 31.98 kB / 0.6058 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.721, allocations: 63.92 kB / 0.6058 GB, free: 4.023 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.7212, allocations: 84.34 kB / 0.6059 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.7213, allocations: 48 kB / 0.606 GB, free: 3.895 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004111/0.7254, allocations: 2.395 MB / 0.6083 GB, free: 1.516 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7254, allocations: 0 / 0.6083 GB, free: 1.516 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005816/0.7313, allocations: 1.129 MB / 0.6094 GB, free: 392 kB / 478.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.004704/0.736, allocations: 5.384 MB / 0.6147 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008073/0.7441, allocations: 4.496 MB / 0.6191 GB, free: 6.332 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.7441, allocations: 4.062 kB / 0.6191 GB, free: 6.328 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.7454, allocations: 0.9517 MB / 0.62 GB, free: 5.379 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.7476, allocations: 332.1 kB / 0.6203 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2751/1.023, allocations: 124.3 MB / 0.7417 GB, free: 51.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003827/1.027, allocations: 3.361 MB / 0.745 GB, free: 50.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00512/1.032, allocations: 2.285 MB / 0.7472 GB, free: 50.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00263/1.034, allocations: 1.754 MB / 0.749 GB, free: 50.38 MB / 0.4981 GB Notification: Performance of SimCode: time 1.312e-06/1.034, allocations: 0 / 0.749 GB, free: 50.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/1.143, allocations: 64.76 MB / 0.8122 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.143, allocations: 183.5 kB / 0.8124 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.951/5.094, allocations: 0 / 0.8124 GB, free: 13.51 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