Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 183.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008564/0.0008564, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.195/0.195, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 11.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1049, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3021/0.4071, allocations: 87.48 MB / 0.5643 GB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.4073, allocations: 77.33 kB / 0.5644 GB, free: 12.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01132/0.4186, allocations: 4.599 MB / 0.5688 GB, free: 8.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4187, allocations: 0 / 0.5688 GB, free: 8.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.4187, allocations: 4 kB / 0.5688 GB, free: 8.496 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004447/0.4191, allocations: 408.6 kB / 0.5692 GB, free: 8.059 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4192, allocations: 12.03 kB / 0.5692 GB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.4192, allocations: 30.56 kB / 0.5693 GB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.4193, allocations: 11.86 kB / 0.5693 GB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.4195, allocations: 197.9 kB / 0.5695 GB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-06/0.4195, allocations: 0 / 0.5695 GB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.4196, allocations: 4 kB / 0.5695 GB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.4198, allocations: 77.44 kB / 0.5696 GB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4198, allocations: 7.938 kB / 0.5696 GB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4198, allocations: 4 kB / 0.5696 GB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.4198, allocations: 7.938 kB / 0.5696 GB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.42, allocations: 42.91 kB / 0.5696 GB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.4205, allocations: 316.8 kB / 0.5699 GB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.4206, allocations: 44.69 kB / 0.57 GB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.4206, allocations: 0 / 0.57 GB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.4207, allocations: 42.5 kB / 0.57 GB, free: 7.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.4207, allocations: 0 / 0.57 GB, free: 7.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007684/0.4215, allocations: 264.8 kB / 0.5703 GB, free: 6.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.4215, allocations: 81.11 kB / 0.5703 GB, free: 6.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.4217, allocations: 133.3 kB / 0.5705 GB, free: 6.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.4217, allocations: 25.7 kB / 0.5705 GB, free: 6.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.4217, allocations: 99.28 kB / 0.5706 GB, free: 6.617 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.4218, allocations: 23.47 kB / 0.5706 GB, free: 6.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.4218, allocations: 0 / 0.5706 GB, free: 6.598 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4219, allocations: 318.5 kB / 0.5709 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.4221, allocations: 51.22 kB / 0.5709 GB, free: 6.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.4222, allocations: 64.61 kB / 0.571 GB, free: 6.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.4223, allocations: 50.44 kB / 0.5711 GB, free: 6.137 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4223, allocations: 0 / 0.5711 GB, free: 6.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000267/0.4226, allocations: 138.9 kB / 0.5712 GB, free: 6.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.4226, allocations: 4 kB / 0.5712 GB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4226, allocations: 288 / 0.5712 GB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.4226, allocations: 7.953 kB / 0.5712 GB, free: 6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4228, allocations: 23.97 kB / 0.5712 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4228, allocations: 0 / 0.5712 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.337e-05/0.4228, allocations: 23 kB / 0.5712 GB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.4229, allocations: 3.984 kB / 0.5713 GB, free: 5.953 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * 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 9.318e-05/0.423, allocations: 121.6 kB / 0.5714 GB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.423, allocations: 11.89 kB / 0.5714 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.4233, allocations: 158.6 kB / 0.5715 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.4233, allocations: 7.953 kB / 0.5715 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4234, allocations: 0 / 0.5715 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4234, allocations: 0 / 0.5715 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.4239, allocations: 427.5 kB / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4239, allocations: 0 / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.854e-05/0.424, allocations: 31.92 kB / 0.572 GB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4241, allocations: 3.953 kB / 0.572 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.4241, allocations: 1.312 kB / 0.572 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4241, allocations: 4 kB / 0.572 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4241, allocations: 0 / 0.572 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.4244, allocations: 232.5 kB / 0.5722 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.4245, allocations: 92.88 kB / 0.5723 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.4245, allocations: 3.953 kB / 0.5723 GB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.4246, allocations: 19.98 kB / 0.5723 GB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.4247, allocations: 4 kB / 0.5723 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.4247, allocations: 0 / 0.5723 GB, free: 4.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.389e-05/0.4248, allocations: 117.5 kB / 0.5724 GB, free: 4.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4248, allocations: 0 / 0.5724 GB, free: 4.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.425, allocations: 39.86 kB / 0.5725 GB, free: 4.703 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.001384/0.4264, allocations: 1.115 MB / 0.5736 GB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.4267, allocations: 106.6 kB / 0.5737 GB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4267, allocations: 4 kB / 0.5737 GB, free: 3.555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.4268, allocations: 47.47 kB / 0.5737 GB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.427, allocations: 19.75 kB / 0.5737 GB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.4282, allocations: 0.6954 MB / 0.5744 GB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.4284, allocations: 0.712 MB / 0.5751 GB, free: 2.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.442e-05/0.4285, allocations: 29.08 kB / 0.5751 GB, free: 2.059 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.4286, allocations: 26.92 kB / 0.5752 GB, free: 2.039 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4286, allocations: 0 / 0.5752 GB, free: 2.039 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.4417, allocations: 2.583 MB / 0.5777 GB, free: 15.48 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.4419, allocations: 213.2 kB / 0.5779 GB, free: 15.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/1.949, allocations: 0 / 0.5779 GB, free: 15.23 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat does not exist to compare? outputFormat=mat