Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.001112/0.001112, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.533/1.533, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 87.48 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2405/0.2405, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.464e-05/4.468e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1377, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4685/0.6063, allocations: 90.13 MB / 0.5898 GB, free: 15.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004123/0.6068, allocations: 75.95 kB / 0.5899 GB, free: 15.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01291/0.6197, allocations: 4.384 MB / 0.5942 GB, free: 10.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6198, allocations: 0 / 0.5942 GB, free: 10.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.6198, allocations: 4 kB / 0.5942 GB, free: 10.69 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006228/0.6204, allocations: 463.8 kB / 0.5946 GB, free: 10.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.6205, allocations: 12.03 kB / 0.5946 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.6206, allocations: 38.5 kB / 0.5947 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.6206, allocations: 11.91 kB / 0.5947 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.621, allocations: 223.2 kB / 0.5949 GB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.621, allocations: 11.95 kB / 0.5949 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.621, allocations: 7.984 kB / 0.5949 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.6213, allocations: 105.2 kB / 0.595 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.6213, allocations: 0 / 0.595 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.6213, allocations: 0 / 0.595 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.6213, allocations: 11.94 kB / 0.595 GB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.421e-05/0.6214, allocations: 36 kB / 0.5951 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006863/0.6221, allocations: 0.5204 MB / 0.5956 GB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.6224, allocations: 78.67 kB / 0.5956 GB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.6225, allocations: 29.08 kB / 0.5957 GB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.6225, allocations: 7.938 kB / 0.5957 GB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.6227, allocations: 83.33 kB / 0.5958 GB, free: 8.875 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.6227, allocations: 0 / 0.5958 GB, free: 8.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002578/0.623, allocations: 105.4 kB / 0.5959 GB, free: 8.766 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.623, allocations: 59.34 kB / 0.5959 GB, free: 8.695 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.6232, allocations: 174.6 kB / 0.5961 GB, free: 8.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.6232, allocations: 25.7 kB / 0.5961 GB, free: 8.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.6233, allocations: 112 kB / 0.5962 GB, free: 8.363 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.6234, allocations: 39.55 kB / 0.5963 GB, free: 8.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.6234, allocations: 0 / 0.5963 GB, free: 8.324 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6235, allocations: 326.8 kB / 0.5966 GB, free: 7.996 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.745e-05/0.6236, allocations: 16 kB / 0.5966 GB, free: 7.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-05/0.6237, allocations: 64.41 kB / 0.5966 GB, free: 7.902 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.696e-05/0.6237, allocations: 39.95 kB / 0.5967 GB, free: 7.863 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6237, allocations: 0 / 0.5967 GB, free: 7.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002167/0.624, allocations: 121.4 kB / 0.5968 GB, free: 7.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.624, allocations: 9.234 kB / 0.5968 GB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.624, allocations: 4 kB / 0.5968 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.624, allocations: 0 / 0.5968 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.6242, allocations: 28.05 kB / 0.5968 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.6242, allocations: 8 kB / 0.5968 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.513e-05/0.6243, allocations: 15.89 kB / 0.5969 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.6243, allocations: 4 kB / 0.5969 GB, free: 7.672 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.61e-05/0.6244, allocations: 109 kB / 0.597 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.6244, allocations: 15.81 kB / 0.597 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.6246, allocations: 123.1 kB / 0.5971 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6247, allocations: 0 / 0.5971 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6247, allocations: 4 kB / 0.5971 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6247, allocations: 0 / 0.5971 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.6249, allocations: 221.6 kB / 0.5973 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6249, allocations: 0 / 0.5973 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.783e-05/0.625, allocations: 19.92 kB / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.625, allocations: 0 / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.625, allocations: 4 kB / 0.5973 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.625, allocations: 0 / 0.5973 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.625, allocations: 0 / 0.5973 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.6253, allocations: 185.9 kB / 0.5975 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.6254, allocations: 92.89 kB / 0.5976 GB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.6254, allocations: 7.984 kB / 0.5976 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.6255, allocations: 8 kB / 0.5976 GB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.6256, allocations: 7.984 kB / 0.5976 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.6256, allocations: 4 kB / 0.5976 GB, free: 6.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.6257, allocations: 145.2 kB / 0.5978 GB, free: 6.645 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6257, allocations: 0 / 0.5978 GB, free: 6.645 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.626, allocations: 28.06 kB / 0.5978 GB, free: 6.617 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001438/0.6274, allocations: 0.9933 MB / 0.5988 GB, free: 5.707 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.6276, allocations: 71.86 kB / 0.5988 GB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.6276, allocations: 256 / 0.5988 GB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.877e-05/0.6277, allocations: 43.94 kB / 0.5989 GB, free: 5.594 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.628, allocations: 30.22 kB / 0.5989 GB, free: 5.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.6286, allocations: 249.7 kB / 0.5991 GB, free: 5.285 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.6289, allocations: 0.7126 MB / 0.5998 GB, free: 4.547 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.503e-05/0.629, allocations: 21.2 kB / 0.5999 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.6291, allocations: 43.42 kB / 0.5999 GB, free: 4.48 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.6291, allocations: 0 / 0.5999 GB, free: 4.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.6457, allocations: 3.303 MB / 0.6031 GB, free: 1.266 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.646, allocations: 180.1 kB / 0.6033 GB, free: 1.047 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.394, allocations: 4 kB / 0.6033 GB, free: 1.043 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat