Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",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.00139/0.00139, allocations: 183 kB / 13.19 MB, free: 2.129 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.953/1.953, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009385/0.0009384, allocations: 90.53 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.447/0.447, allocations: 43.46 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.523e-05, allocations: 4 kB / 425.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1591, allocations: 58.85 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.6138, allocations: 86.25 MB / 0.5571 GB, free: 2.695 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.614, allocations: 75.47 kB / 0.5572 GB, free: 2.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008735/0.6228, allocations: 3.513 MB / 0.5606 GB, free: 15.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6228, allocations: 4 kB / 0.5606 GB, free: 15.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.6229, allocations: 0.5469 kB / 0.5606 GB, free: 15.14 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004002/0.6233, allocations: 381.4 kB / 0.561 GB, free: 14.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.6233, allocations: 8.031 kB / 0.561 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.6234, allocations: 30.56 kB / 0.561 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.6234, allocations: 11.34 kB / 0.5611 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.6236, allocations: 187.5 kB / 0.5612 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.6236, allocations: 8 kB / 0.5612 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.6237, allocations: 4 kB / 0.5612 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.6238, allocations: 41.69 kB / 0.5613 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.6238, allocations: 0 / 0.5613 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.6238, allocations: 3.938 kB / 0.5613 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.6238, allocations: 5.375 kB / 0.5613 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.901e-05/0.6239, allocations: 12 kB / 0.5613 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.6242, allocations: 269.2 kB / 0.5616 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.6244, allocations: 38.58 kB / 0.5616 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.6245, allocations: 16.8 kB / 0.5616 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.6245, allocations: 0 / 0.5616 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.6245, allocations: 38.64 kB / 0.5616 GB, free: 13.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6245, allocations: 4 kB / 0.5617 GB, free: 13.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004108/0.625, allocations: 101.3 kB / 0.5617 GB, free: 13.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.625, allocations: 63.3 kB / 0.5618 GB, free: 13.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.6251, allocations: 130.6 kB / 0.5619 GB, free: 13.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.6252, allocations: 25.7 kB / 0.562 GB, free: 13.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.6252, allocations: 96.12 kB / 0.562 GB, free: 13.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.6252, allocations: 16.64 kB / 0.5621 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.6253, allocations: 4 kB / 0.5621 GB, free: 13.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6254, allocations: 318.8 kB / 0.5624 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.6254, allocations: 4 kB / 0.5624 GB, free: 13.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.6254, allocations: 16 kB / 0.5624 GB, free: 13.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.6255, allocations: 8.562 kB / 0.5624 GB, free: 13.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.6255, allocations: 4 kB / 0.5624 GB, free: 13.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.559e-05/0.6256, allocations: 65.53 kB / 0.5625 GB, free: 13.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6256, allocations: 5.719 kB / 0.5625 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6256, allocations: 0.9375 kB / 0.5625 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.6256, allocations: 3.938 kB / 0.5625 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.6257, allocations: 15.98 kB / 0.5625 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.6257, allocations: 3.953 kB / 0.5625 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.6258, allocations: 8 kB / 0.5625 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.6258, allocations: 4 kB / 0.5625 GB, free: 13.03 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.555e-05/0.6259, allocations: 105 kB / 0.5626 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.6259, allocations: 7.906 kB / 0.5626 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.626, allocations: 74.45 kB / 0.5627 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.6261, allocations: 144 / 0.5627 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6261, allocations: 3.938 kB / 0.5627 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.6261, allocations: 19.88 kB / 0.5627 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.6264, allocations: 322.5 kB / 0.563 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6264, allocations: 0 / 0.563 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.146e-05/0.6265, allocations: 15.98 kB / 0.563 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.6265, allocations: 0 / 0.563 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.6265, allocations: 0 / 0.563 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.6265, allocations: 7.953 kB / 0.563 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6265, allocations: 0 / 0.563 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.6266, allocations: 159.5 kB / 0.5632 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.6267, allocations: 85.02 kB / 0.5633 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.6267, allocations: 4.5 kB / 0.5633 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.6268, allocations: 11.92 kB / 0.5633 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.6268, allocations: 7.953 kB / 0.5633 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.6269, allocations: 448 / 0.5633 GB, free: 12.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.293e-05/0.6269, allocations: 108.8 kB / 0.5634 GB, free: 12.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6269, allocations: 4 kB / 0.5634 GB, free: 12.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.6272, allocations: 23.94 kB / 0.5634 GB, free: 11.99 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001059/0.6282, allocations: 0.9512 MB / 0.5644 GB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.302e-05/0.6283, allocations: 28 kB / 0.5644 GB, free: 11.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6284, allocations: 4 kB / 0.5644 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.198e-05/0.6284, allocations: 23.92 kB / 0.5644 GB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.6286, allocations: 12.97 kB / 0.5644 GB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.6291, allocations: 155 kB / 0.5646 GB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.6293, allocations: 0.6965 MB / 0.5652 GB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.55e-05/0.6294, allocations: 4.188 kB / 0.5653 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.6294, allocations: 27.42 kB / 0.5653 GB, free: 10.08 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6294, allocations: 0 / 0.5653 GB, free: 10.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01187/0.6413, allocations: 2.021 MB / 0.5673 GB, free: 8.098 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.6415, allocations: 181.5 kB / 0.5674 GB, free: 7.875 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.157, allocations: 11.94 kB / 0.5674 GB, free: 7.863 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat does not exist to compare? outputFormat=mat