Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",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.001039/0.001039, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.404/1.404, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009286/0.0009285, allocations: 94.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2642/0.2642, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.000398, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.153, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5269/0.68, allocations: 87.68 MB / 0.5645 GB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.6804, allocations: 71.84 kB / 0.5646 GB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01615/0.6966, allocations: 5.287 MB / 0.5697 GB, free: 7.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.098e-06/0.6966, allocations: 3.938 kB / 0.5697 GB, free: 7.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.6967, allocations: 4 kB / 0.5697 GB, free: 7.551 MB / 378.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.000891/0.6976, allocations: 424.9 kB / 0.5701 GB, free: 7.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.872e-05/0.6977, allocations: 8.031 kB / 0.5701 GB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.686e-05/0.6977, allocations: 42.48 kB / 0.5702 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.6978, allocations: 7.906 kB / 0.5702 GB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.6983, allocations: 217.2 kB / 0.5704 GB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.6983, allocations: 0 / 0.5704 GB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.6983, allocations: 4 kB / 0.5704 GB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.6985, allocations: 52.36 kB / 0.5704 GB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.6985, allocations: 0 / 0.5704 GB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.6986, allocations: 4 kB / 0.5704 GB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.6986, allocations: 0 / 0.5704 GB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.647e-05/0.6987, allocations: 26.8 kB / 0.5705 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.6992, allocations: 299.1 kB / 0.5708 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.6994, allocations: 57.42 kB / 0.5708 GB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.6994, allocations: 8 kB / 0.5708 GB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.6996, allocations: 70.33 kB / 0.5709 GB, free: 6.254 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.6997, allocations: 0 / 0.5709 GB, free: 6.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007112/0.7004, allocations: 178.3 kB / 0.5711 GB, free: 6.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.7004, allocations: 58.59 kB / 0.5711 GB, free: 6.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.7006, allocations: 169.8 kB / 0.5713 GB, free: 5.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.7007, allocations: 33 kB / 0.5713 GB, free: 5.852 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.7007, allocations: 100.5 kB / 0.5714 GB, free: 5.762 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.7008, allocations: 26.95 kB / 0.5714 GB, free: 5.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.7008, allocations: 0 / 0.5714 GB, free: 5.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.701, allocations: 325.7 kB / 0.5717 GB, free: 5.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.016e-05/0.701, allocations: 22.67 kB / 0.5718 GB, free: 5.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.7011, allocations: 32.39 kB / 0.5718 GB, free: 5.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.71e-05/0.7012, allocations: 25.88 kB / 0.5718 GB, free: 5.355 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7012, allocations: 4 kB / 0.5718 GB, free: 5.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002148/0.7014, allocations: 109.2 kB / 0.5719 GB, free: 5.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.7015, allocations: 7.438 kB / 0.5719 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.7015, allocations: 4 kB / 0.5719 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.7015, allocations: 0 / 0.5719 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/0.7016, allocations: 12 kB / 0.5719 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.7016, allocations: 4.141 kB / 0.572 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.7017, allocations: 11.92 kB / 0.572 GB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.7017, allocations: 7.938 kB / 0.572 GB, free: 5.215 MB / 378.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 () * Number of clocked 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.0001304/0.7018, allocations: 128.8 kB / 0.5721 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.7019, allocations: 7.906 kB / 0.5721 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.7022, allocations: 123.9 kB / 0.5722 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.7022, allocations: 4 kB / 0.5722 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7022, allocations: 0 / 0.5722 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.7022, allocations: 3.953 kB / 0.5722 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005644/0.7028, allocations: 413.7 kB / 0.5726 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.7028, allocations: 0 / 0.5726 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.7028, allocations: 8 kB / 0.5726 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.7029, allocations: 7.969 kB / 0.5726 GB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.7029, allocations: 7.812 kB / 0.5726 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.403e-06/0.7029, allocations: 7.891 kB / 0.5727 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7029, allocations: 0 / 0.5727 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.7033, allocations: 216.9 kB / 0.5729 GB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.7034, allocations: 94.88 kB / 0.5729 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.7034, allocations: 5.016 kB / 0.573 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.7035, allocations: 5 kB / 0.573 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.7035, allocations: 9.234 kB / 0.573 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.7035, allocations: 1.25 kB / 0.573 GB, free: 4.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001587/0.7037, allocations: 146.4 kB / 0.5731 GB, free: 4.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.587e-06/0.7037, allocations: 4 kB / 0.5731 GB, free: 4.039 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.704, allocations: 39.47 kB / 0.5732 GB, free: 4.004 MB / 378.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) * Number of clocked states: 0 () * 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.001744/0.7058, allocations: 1.202 MB / 0.5743 GB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.706, allocations: 63.5 kB / 0.5744 GB, free: 2.809 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.706, allocations: 4 kB / 0.5744 GB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.945e-05/0.7061, allocations: 27.61 kB / 0.5744 GB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.7064, allocations: 27.8 kB / 0.5744 GB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.7079, allocations: 0.8654 MB / 0.5753 GB, free: 1.906 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.7084, allocations: 0.7109 MB / 0.576 GB, free: 1.172 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.002e-05/0.7085, allocations: 16.55 kB / 0.576 GB, free: 1.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.7086, allocations: 33.98 kB / 0.576 GB, free: 1.137 MB / 378.7 MB Notification: Performance of SimCode: time 3.216e-06/0.7086, allocations: 112 / 0.576 GB, free: 1.137 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.7293, allocations: 3.004 MB / 0.579 GB, free: 14.16 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.7296, allocations: 213.7 kB / 0.5792 GB, free: 13.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.463, allocations: 0 / 0.5792 GB, free: 13.91 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat