Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.00118/0.00118, allocations: 180.2 kB / 14.15 MB, free: 1.172 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.494/1.494, allocations: 221.3 MB / 236 MB, free: 2.945 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.001127/0.001127, allocations: 88.69 kB / 287 MB, free: 232 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.2319/0.2319, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.572e-05, allocations: 4 kB / 451.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.138, allocations: 61.92 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4699/0.6079, allocations: 90.13 MB / 0.5898 GB, free: 15.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.6082, allocations: 75.91 kB / 0.5899 GB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01213/0.6203, allocations: 4.359 MB / 0.5942 GB, free: 10.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6204, allocations: 0 / 0.5942 GB, free: 10.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.6204, allocations: 0 / 0.5942 GB, free: 10.67 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.0005858/0.621, allocations: 463.8 kB / 0.5946 GB, free: 10.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.6211, allocations: 8.031 kB / 0.5946 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.6211, allocations: 42.55 kB / 0.5946 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.6212, allocations: 11.91 kB / 0.5947 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.6215, allocations: 231.2 kB / 0.5949 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.6216, allocations: 11.89 kB / 0.5949 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.6216, allocations: 8 kB / 0.5949 GB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.6218, allocations: 100.2 kB / 0.595 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.6219, allocations: 0 / 0.595 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.6219, allocations: 3.984 kB / 0.595 GB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6219, allocations: 0 / 0.595 GB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.861e-05/0.622, allocations: 39.94 kB / 0.595 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.6227, allocations: 0.5165 MB / 0.5955 GB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.623, allocations: 86.67 kB / 0.5956 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.6231, allocations: 28.86 kB / 0.5956 GB, free: 8.957 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.6231, allocations: 3.938 kB / 0.5957 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.6233, allocations: 83.33 kB / 0.5957 GB, free: 8.859 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.6233, allocations: 0 / 0.5957 GB, free: 8.859 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002685/0.6236, allocations: 113.4 kB / 0.5958 GB, free: 8.742 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.6236, allocations: 55.36 kB / 0.5959 GB, free: 8.676 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.6238, allocations: 174.6 kB / 0.5961 GB, free: 8.488 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.6239, allocations: 29.7 kB / 0.5961 GB, free: 8.453 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.624, allocations: 108 kB / 0.5962 GB, free: 8.344 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.624, allocations: 35.69 kB / 0.5962 GB, free: 8.309 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.624, allocations: 4 kB / 0.5962 GB, free: 8.305 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6241, allocations: 322.8 kB / 0.5965 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-05/0.6242, allocations: 24 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.6242, allocations: 64.42 kB / 0.5966 GB, free: 7.879 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.07e-05/0.6243, allocations: 32.02 kB / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6243, allocations: 3.938 kB / 0.5967 GB, free: 7.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002045/0.6245, allocations: 129.4 kB / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.6246, allocations: 4 kB / 0.5968 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6246, allocations: 3.984 kB / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.6246, allocations: 4 kB / 0.5968 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.6247, allocations: 20 kB / 0.5968 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.6247, allocations: 3.984 kB / 0.5968 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.6248, allocations: 19.89 kB / 0.5968 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.6248, allocations: 7.938 kB / 0.5968 GB, free: 7.648 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.847e-05/0.6249, allocations: 113.1 kB / 0.5969 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.625, allocations: 11.81 kB / 0.597 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.6252, allocations: 123.1 kB / 0.5971 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6252, allocations: 4 kB / 0.5971 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6252, allocations: 0 / 0.5971 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.6252, allocations: 0 / 0.5971 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.6254, allocations: 213.5 kB / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6254, allocations: 0 / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.355e-05/0.6255, allocations: 19.98 kB / 0.5973 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6255, allocations: 0 / 0.5973 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.6255, allocations: 4 kB / 0.5973 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.6255, allocations: 0 / 0.5973 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6255, allocations: 0 / 0.5973 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.6258, allocations: 177 kB / 0.5975 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.6259, allocations: 96.89 kB / 0.5976 GB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.626, allocations: 12.02 kB / 0.5976 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.626, allocations: 16 kB / 0.5976 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.6261, allocations: 3.984 kB / 0.5976 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.6261, allocations: 4 kB / 0.5976 GB, free: 6.762 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.6263, allocations: 145.2 kB / 0.5977 GB, free: 6.621 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6263, allocations: 0 / 0.5977 GB, free: 6.621 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.6265, allocations: 28 kB / 0.5978 GB, free: 6.594 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.00134/0.6279, allocations: 0.9895 MB / 0.5987 GB, free: 5.688 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.628, allocations: 71.88 kB / 0.5988 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6281, allocations: 0 / 0.5988 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.021e-05/0.6281, allocations: 31.98 kB / 0.5988 GB, free: 5.586 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.6285, allocations: 34.05 kB / 0.5989 GB, free: 5.551 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007493/0.6292, allocations: 261.9 kB / 0.5991 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.6296, allocations: 0.7165 MB / 0.5998 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.6297, allocations: 17.19 kB / 0.5998 GB, free: 4.504 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.6298, allocations: 47.42 kB / 0.5999 GB, free: 4.457 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6298, allocations: 4 kB / 0.5999 GB, free: 4.453 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.6463, allocations: 3.294 MB / 0.6031 GB, free: 1.246 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/0.6466, allocations: 184 kB / 0.6033 GB, free: 1.023 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.462, allocations: 0 / 0.6033 GB, free: 1.023 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat