Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",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.001761/0.001761, allocations: 179.6 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.588/1.588, allocations: 221.3 MB / 236 MB, free: 2.953 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.001325/0.001325, allocations: 91.55 kB / 287 MB, free: 244 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.2199/0.2199, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.863e-05, allocations: 12.22 kB / 451.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5747, allocations: 89.18 MB / 0.5889 GB, free: 60 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.575, allocations: 78.33 kB / 0.589 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.5913, allocations: 5.462 MB / 0.5943 GB, free: 10.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.12e-06/0.5914, allocations: 4 kB / 0.5943 GB, free: 10.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.5914, allocations: 2.953 kB / 0.5943 GB, free: 10.53 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000648/0.5921, allocations: 402.2 kB / 0.5947 GB, free: 10.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.5921, allocations: 12.03 kB / 0.5947 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.623e-05/0.5922, allocations: 30.56 kB / 0.5947 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.5922, allocations: 11.91 kB / 0.5947 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.5926, allocations: 214.8 kB / 0.5949 GB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.5927, allocations: 3.953 kB / 0.595 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.5927, allocations: 11.94 kB / 0.595 GB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.5929, allocations: 53.61 kB / 0.595 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.5929, allocations: 0 / 0.595 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.5929, allocations: 7.938 kB / 0.595 GB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5929, allocations: 4 kB / 0.595 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.13e-05/0.593, allocations: 19.98 kB / 0.595 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.5935, allocations: 292.9 kB / 0.5953 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.5936, allocations: 54.62 kB / 0.5954 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.5936, allocations: 20.98 kB / 0.5954 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.5937, allocations: 4 kB / 0.5954 GB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.5938, allocations: 63.39 kB / 0.5955 GB, free: 9.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.5939, allocations: 0 / 0.5955 GB, free: 9.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005177/0.5944, allocations: 169.1 kB / 0.5956 GB, free: 9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.5944, allocations: 55.41 kB / 0.5957 GB, free: 8.934 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.5946, allocations: 165.4 kB / 0.5958 GB, free: 8.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.5947, allocations: 25.7 kB / 0.5959 GB, free: 8.734 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/0.5948, allocations: 108.1 kB / 0.596 GB, free: 8.625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.5948, allocations: 19.72 kB / 0.596 GB, free: 8.605 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.5948, allocations: 4 kB / 0.596 GB, free: 8.602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.595, allocations: 326.8 kB / 0.5963 GB, free: 8.273 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.595, allocations: 16 kB / 0.5963 GB, free: 8.258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.5951, allocations: 41.64 kB / 0.5963 GB, free: 8.211 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.692e-05/0.5952, allocations: 19.98 kB / 0.5964 GB, free: 8.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5952, allocations: 4 kB / 0.5964 GB, free: 8.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001624/0.5953, allocations: 97.5 kB / 0.5965 GB, free: 8.086 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5954, allocations: 4 kB / 0.5965 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5954, allocations: 0 / 0.5965 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5954, allocations: 0 / 0.5965 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.5955, allocations: 23.92 kB / 0.5965 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5955, allocations: 0 / 0.5965 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.5956, allocations: 11.94 kB / 0.5965 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.5956, allocations: 0 / 0.5965 GB, free: 8.047 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001117/0.5957, allocations: 117 kB / 0.5966 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.5958, allocations: 7.906 kB / 0.5966 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.596, allocations: 118.3 kB / 0.5967 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.596, allocations: 0 / 0.5967 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.596, allocations: 4 kB / 0.5967 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5961, allocations: 0 / 0.5967 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.5966, allocations: 411.2 kB / 0.5971 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5966, allocations: 3.969 kB / 0.5971 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.5966, allocations: 19.98 kB / 0.5972 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.5966, allocations: 0 / 0.5972 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.5966, allocations: 4 kB / 0.5972 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.5967, allocations: 3.938 kB / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5967, allocations: 0 / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.5969, allocations: 217.9 kB / 0.5974 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.597, allocations: 96.91 kB / 0.5975 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.597, allocations: 4 kB / 0.5975 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.5971, allocations: 4 kB / 0.5975 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.5971, allocations: 11.94 kB / 0.5975 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.5971, allocations: 4 kB / 0.5975 GB, free: 6.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.5973, allocations: 148.9 kB / 0.5976 GB, free: 6.785 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5973, allocations: 0 / 0.5976 GB, free: 6.785 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.5975, allocations: 28 kB / 0.5977 GB, free: 6.758 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.001458/0.599, allocations: 1.147 MB / 0.5988 GB, free: 5.703 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.5992, allocations: 59.92 kB / 0.5988 GB, free: 5.645 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5992, allocations: 3.938 kB / 0.5988 GB, free: 5.641 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.194e-05/0.5992, allocations: 31.94 kB / 0.5989 GB, free: 5.609 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.5995, allocations: 27.92 kB / 0.5989 GB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005934/0.6001, allocations: 216.6 kB / 0.5991 GB, free: 5.324 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.6005, allocations: 0.7121 MB / 0.5998 GB, free: 4.586 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.6006, allocations: 16.42 kB / 0.5998 GB, free: 4.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.6006, allocations: 35.42 kB / 0.5998 GB, free: 4.535 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6007, allocations: 0 / 0.5998 GB, free: 4.535 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.6177, allocations: 2.997 MB / 0.6028 GB, free: 1.625 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002843/0.618, allocations: 196 kB / 0.603 GB, free: 1.391 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.505, allocations: 3.938 kB / 0.603 GB, free: 1.387 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat