Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 176.6 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008129/0.0008129, allocations: 93.69 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3221/0.3221, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003009, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3879, allocations: 61.9 MB / 0.5096 GB, free: 37.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.5059, allocations: 88.06 MB / 0.5956 GB, free: 7.051 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.5062, allocations: 79.92 kB / 0.5957 GB, free: 6.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01045/0.5167, allocations: 3.726 MB / 0.5994 GB, free: 3.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5167, allocations: 0 / 0.5994 GB, free: 3.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.5168, allocations: 0 / 0.5994 GB, free: 3.25 MB / 410.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.0004417/0.5172, allocations: 394.9 kB / 0.5997 GB, free: 2.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.5173, allocations: 8.031 kB / 0.5997 GB, free: 2.809 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.11e-05/0.5173, allocations: 34.56 kB / 0.5998 GB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.5174, allocations: 3.906 kB / 0.5998 GB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.5176, allocations: 202.8 kB / 0.6 GB, free: 2.523 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.5177, allocations: 8 kB / 0.6 GB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.5177, allocations: 3.953 kB / 0.6 GB, free: 2.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.5179, allocations: 49.67 kB / 0.6 GB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5179, allocations: 0 / 0.6 GB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.5179, allocations: 0 / 0.6 GB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.5179, allocations: 4 kB / 0.6 GB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.842e-05/0.518, allocations: 31.92 kB / 0.6001 GB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.5185, allocations: 284.8 kB / 0.6003 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.5187, allocations: 46.56 kB / 0.6004 GB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.5188, allocations: 4 kB / 0.6004 GB, free: 2.035 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.5188, allocations: 34.56 kB / 0.6004 GB, free: 1.992 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.5188, allocations: 0 / 0.6004 GB, free: 1.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005827/0.5194, allocations: 169.6 kB / 0.6006 GB, free: 1.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.5195, allocations: 51.41 kB / 0.6006 GB, free: 1.758 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.5196, allocations: 134.9 kB / 0.6008 GB, free: 1.617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.5196, allocations: 29.7 kB / 0.6008 GB, free: 1.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.5197, allocations: 92.12 kB / 0.6009 GB, free: 1.488 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.5197, allocations: 23.66 kB / 0.6009 GB, free: 1.465 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.5197, allocations: 0 / 0.6009 GB, free: 1.465 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5198, allocations: 330.8 kB / 0.6012 GB, free: 1.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-05/0.5199, allocations: 23.98 kB / 0.6012 GB, free: 1.109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-05/0.52, allocations: 23.92 kB / 0.6013 GB, free: 1.086 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.656e-05/0.5201, allocations: 31.94 kB / 0.6013 GB, free: 1.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5201, allocations: 4 kB / 0.6013 GB, free: 1.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002022/0.5203, allocations: 89.66 kB / 0.6014 GB, free: 0.957 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5203, allocations: 4 kB / 0.6014 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5203, allocations: 3.984 kB / 0.6014 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.5203, allocations: 0 / 0.6014 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.5204, allocations: 16.23 kB / 0.6014 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5204, allocations: 4 kB / 0.6014 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.5205, allocations: 12 kB / 0.6014 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.5205, allocations: 0 / 0.6014 GB, free: 0.918 MB / 410.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 (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 9.093e-05/0.5206, allocations: 126.2 kB / 0.6015 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.5206, allocations: 11.91 kB / 0.6015 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.5209, allocations: 109.9 kB / 0.6016 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5209, allocations: 0 / 0.6016 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5209, allocations: 0 / 0.6016 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5209, allocations: 0 / 0.6016 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.5214, allocations: 370.5 kB / 0.602 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5214, allocations: 0 / 0.602 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.5215, allocations: 15.98 kB / 0.602 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.5215, allocations: 3.938 kB / 0.602 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.5215, allocations: 0 / 0.602 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5215, allocations: 0 / 0.602 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5215, allocations: 0 / 0.602 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.5218, allocations: 195.4 kB / 0.6022 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.5219, allocations: 93 kB / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.5219, allocations: 0 / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.522, allocations: 4 kB / 0.6023 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.522, allocations: 11.92 kB / 0.6023 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.5221, allocations: 4 kB / 0.6023 GB, free: 15.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.5222, allocations: 120.8 kB / 0.6024 GB, free: 15.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5222, allocations: 0 / 0.6024 GB, free: 15.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.5224, allocations: 20 kB / 0.6024 GB, free: 15.75 MB / 426.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 (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.001515/0.524, allocations: 1.034 MB / 0.6035 GB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.5242, allocations: 59.89 kB / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5242, allocations: 0 / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.5243, allocations: 31.98 kB / 0.6035 GB, free: 14.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.5245, allocations: 15.98 kB / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.5257, allocations: 0.596 MB / 0.6041 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.526, allocations: 0.7018 MB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.291e-05/0.5261, allocations: 12.42 kB / 0.6048 GB, free: 13.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.5261, allocations: 27.48 kB / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of SimCode: time 4.638e-06/0.5262, allocations: 0 / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.5412, allocations: 2.131 MB / 0.6069 GB, free: 11.33 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/0.5415, allocations: 212.6 kB / 0.6071 GB, free: 11.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.07, allocations: 0 / 0.6071 GB, free: 11.09 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat does not exist to compare? outputFormat=mat