Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009534/0.0009538, allocations: 96.78 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 172.9 kB / 16.58 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 222.8 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3811/0.3811, allocations: 43.54 MB / 314.6 MB, free: 9.105 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004911, allocations: 16 kB / 384 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1209, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002158/0.1231, allocations: 1.398 MB / 444.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1244, allocations: 0.7305 MB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.1245, allocations: 3.938 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.1248, allocations: 43.88 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1251, allocations: 43.83 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.1254, allocations: 83.83 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.1255, allocations: 83.7 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.1256, allocations: 8.219 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.992e-05/0.1257, allocations: 39.78 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.535e-05/0.1258, allocations: 31.84 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1258, allocations: 4 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.126, allocations: 35.98 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.126, allocations: 19.92 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.1261, allocations: 37.64 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1262, allocations: 84.09 kB / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1262, allocations: 0 / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1262, allocations: 0 / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1263, allocations: 0 / 445.5 MB, free: 10.51 MB / 382.1 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.0005332/0.1268, allocations: 414.7 kB / 445.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1269, allocations: 12.03 kB / 445.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.1269, allocations: 34.56 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.1269, allocations: 7.906 kB / 446 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1272, allocations: 211.4 kB / 446.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1272, allocations: 4 kB / 446.2 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1272, allocations: 0 / 446.2 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1274, allocations: 53.67 kB / 446.2 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1274, allocations: 0 / 446.2 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1274, allocations: 3.953 kB / 446.3 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1274, allocations: 8 kB / 446.3 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.138e-05/0.1275, allocations: 19.98 kB / 446.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.1279, allocations: 288.9 kB / 446.6 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.128, allocations: 54.67 kB / 446.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.1281, allocations: 20.86 kB / 446.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1281, allocations: 4 kB / 446.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.1283, allocations: 67.33 kB / 446.7 MB, free: 9.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1283, allocations: 3.938 kB / 446.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005217/0.1288, allocations: 173.2 kB / 446.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1289, allocations: 55.41 kB / 446.9 MB, free: 8.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1291, allocations: 199.3 kB / 447.1 MB, free: 8.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1291, allocations: 33.7 kB / 447.2 MB, free: 8.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.1292, allocations: 96.14 kB / 447.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.1292, allocations: 31.62 kB / 447.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-06/0.1292, allocations: 7.938 kB / 447.3 MB, free: 8.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1294, allocations: 322.8 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.1294, allocations: 23.98 kB / 447.6 MB, free: 8.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/0.1295, allocations: 33.7 kB / 447.7 MB, free: 8.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.653e-05/0.1295, allocations: 24 kB / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1296, allocations: 4 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.1297, allocations: 101.4 kB / 447.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1298, allocations: 4 kB / 447.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1298, allocations: 0 / 447.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1298, allocations: 7.984 kB / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.1299, allocations: 16 kB / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1299, allocations: 0 / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.13, allocations: 4.188 kB / 447.8 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.13, allocations: 4.031 kB / 447.8 MB, free: 7.977 MB / 382.1 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.0001099/0.1301, allocations: 141.7 kB / 448 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.1301, allocations: 11.86 kB / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.1302, allocations: 21.39 kB / 448 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1302, allocations: 0 / 448 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1302, allocations: 0 / 448 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1302, allocations: 0 / 448 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.1306, allocations: 403.2 kB / 448.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1307, allocations: 0 / 448.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.349e-05/0.1307, allocations: 8 kB / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.1307, allocations: 3.984 kB / 448.4 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1307, allocations: 4 kB / 448.4 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1307, allocations: 0 / 448.4 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1307, allocations: 384 / 448.4 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.131, allocations: 208.2 kB / 448.6 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.131, allocations: 88.92 kB / 448.7 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1311, allocations: 3.984 kB / 448.7 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.1311, allocations: 12 kB / 448.7 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.1312, allocations: 4 kB / 448.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1312, allocations: 7.984 kB / 448.7 MB, free: 6.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1313, allocations: 152.9 kB / 448.9 MB, free: 6.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1313, allocations: 0 / 448.9 MB, free: 6.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1316, allocations: 20 kB / 448.9 MB, free: 6.801 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.001442/0.133, allocations: 1.102 MB / 450 MB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.1332, allocations: 55.98 kB / 450 MB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1333, allocations: 3.938 kB / 450.1 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.065e-05/0.1333, allocations: 27.92 kB / 450.1 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1337, allocations: 23.98 kB / 450.1 MB, free: 5.602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.1349, allocations: 0.7312 MB / 450.8 MB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1353, allocations: 0.7082 MB / 451.5 MB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.215e-05/0.1353, allocations: 13.19 kB / 451.6 MB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.1354, allocations: 35.42 kB / 451.6 MB, free: 4.031 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1354, allocations: 0 / 451.6 MB, free: 4.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.1513, allocations: 2.985 MB / 454.6 MB, free: 1.047 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.1515, allocations: 225.5 kB / 454.8 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.816, allocations: 0 / 454.8 MB, free: 0.8008 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat