Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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 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 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) 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.0008044/0.0008043, allocations: 95.42 kB / 17 MB, free: 6.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008072/0.0008073, allocations: 176.8 kB / 17.88 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.194/0.194, allocations: 44.23 MB / 337.2 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 8 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1174, allocations: 61.92 MB / 471.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002277/0.1197, allocations: 1.406 MB / 473.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1211, allocations: 0.7959 MB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.1212, allocations: 3.938 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.1215, allocations: 27.89 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.1217, allocations: 39.84 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.1221, allocations: 98.77 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.1223, allocations: 83.75 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.1224, allocations: 4.234 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1225, allocations: 35.8 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.427e-05/0.1226, allocations: 35.83 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1226, allocations: 0 / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1227, allocations: 35.94 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.1228, allocations: 19.97 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.1229, allocations: 37.64 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.123, allocations: 84.05 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.123, allocations: 0 / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.123, allocations: 0 / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1231, allocations: 3.938 kB / 474.4 MB, free: 10.88 MB / 350.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.0005646/0.1236, allocations: 394.9 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1237, allocations: 12.02 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.1237, allocations: 38.56 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.1238, allocations: 7.906 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.124, allocations: 198.9 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1241, allocations: 8 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.1241, allocations: 7.953 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.1243, allocations: 53.67 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1244, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1244, allocations: 4 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1244, allocations: 3.984 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.1245, allocations: 27.86 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.1249, allocations: 296.8 kB / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.1251, allocations: 46.69 kB / 475.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.1251, allocations: 20.84 kB / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1252, allocations: 4 kB / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.1253, allocations: 71.33 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1254, allocations: 0 / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000563/0.1259, allocations: 169.3 kB / 475.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.126, allocations: 51.41 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1262, allocations: 169.9 kB / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1262, allocations: 29.7 kB / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.1263, allocations: 104 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.1263, allocations: 31.62 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.1263, allocations: 0 / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.1265, allocations: 330.8 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.1266, allocations: 16 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.681e-05/0.1267, allocations: 37.7 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.703e-05/0.1268, allocations: 20 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1268, allocations: 3.984 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001911/0.127, allocations: 97.53 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.127, allocations: 8.031 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.127, allocations: 4 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.127, allocations: 0 / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.578e-05/0.1271, allocations: 19.92 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1271, allocations: 192 / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.1272, allocations: 4 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.1272, allocations: 7.938 kB / 476.6 MB, free: 8.391 MB / 350.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.0001124/0.1273, allocations: 130.3 kB / 476.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.1274, allocations: 7.906 kB / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.1274, allocations: 16.88 kB / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1274, allocations: 0 / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.1274, allocations: 0 / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1274, allocations: 4 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.1279, allocations: 399.2 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.128, allocations: 384 / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.128, allocations: 11.98 kB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.128, allocations: 7.938 kB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.128, allocations: 4.031 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.128, allocations: 4 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.128, allocations: 0 / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.1283, allocations: 204.2 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.1284, allocations: 89 kB / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.1284, allocations: 0 / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.1285, allocations: 12 kB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.1286, allocations: 3.984 kB / 477.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.1286, allocations: 4 kB / 477.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1287, allocations: 135.1 kB / 477.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1287, allocations: 0 / 477.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.129, allocations: 23.98 kB / 477.6 MB, free: 7.246 MB / 350.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.001595/0.1306, allocations: 1.096 MB / 478.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.1308, allocations: 63.84 kB / 478.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1308, allocations: 3.938 kB / 478.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/0.1309, allocations: 28 kB / 478.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1312, allocations: 27.97 kB / 478.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1324, allocations: 0.6691 MB / 479.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1327, allocations: 0.7079 MB / 480.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.668e-05/0.1328, allocations: 20.84 kB / 480.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.1329, allocations: 35.42 kB / 480.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1329, allocations: 0 / 480.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.1465, allocations: 2.857 MB / 483.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.1467, allocations: 225.1 kB / 483.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.04, allocations: 3.938 kB / 483.4 MB, free: 1.699 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat