Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009163/0.0009163, allocations: 91.78 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 193 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 45.91 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.0002708, allocations: 11.94 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1198, allocations: 63.46 MB / 481.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002814/0.1227, allocations: 1.624 MB / 483.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1246, allocations: 0.9829 MB / 484.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1247, allocations: 4 kB / 484.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.125, allocations: 43.77 kB / 484.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.1253, allocations: 79.67 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.1256, allocations: 103.6 kB / 484.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1258, allocations: 131.5 kB / 484.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1259, allocations: 21.53 kB / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.228e-05/0.126, allocations: 47.73 kB / 484.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.147e-05/0.1261, allocations: 39.78 kB / 484.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1261, allocations: 4 kB / 484.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.1262, allocations: 39.97 kB / 484.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.1263, allocations: 27.86 kB / 484.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.1263, allocations: 41.64 kB / 484.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1265, allocations: 112 kB / 484.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1265, allocations: 4 kB / 484.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1265, allocations: 0 / 484.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1265, allocations: 0 / 484.9 MB, free: 1.926 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007572/0.1273, allocations: 468.3 kB / 485.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.1274, allocations: 12.03 kB / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.377e-05/0.1274, allocations: 38.56 kB / 485.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.1275, allocations: 15.81 kB / 485.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.1278, allocations: 224.4 kB / 485.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1279, allocations: 4 kB / 485.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1279, allocations: 8 kB / 485.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.1282, allocations: 108.2 kB / 485.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1282, allocations: 4 kB / 485.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.1282, allocations: 4 kB / 485.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1282, allocations: 7.938 kB / 485.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.1284, allocations: 47.91 kB / 485.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/0.1291, allocations: 0.5126 MB / 486.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.1294, allocations: 94.58 kB / 486.5 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.576e-05/0.1295, allocations: 48.83 kB / 486.5 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.1296, allocations: 0 / 486.5 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.1298, allocations: 79.38 kB / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1298, allocations: 0 / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004019/0.1302, allocations: 157.3 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1302, allocations: 51.41 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.1305, allocations: 206.1 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1305, allocations: 25.7 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/0.1306, allocations: 123.9 kB / 487.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.1306, allocations: 23.7 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.1306, allocations: 4 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1307, allocations: 326.8 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.414e-05/0.1308, allocations: 31.98 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.131, allocations: 68.2 kB / 487.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.482e-05/0.1311, allocations: 36 kB / 487.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1311, allocations: 0 / 487.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002636/0.1313, allocations: 141.7 kB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1314, allocations: 8 kB / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.1314, allocations: 4.062 kB / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1314, allocations: 7.953 kB / 487.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.1315, allocations: 23.98 kB / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1315, allocations: 7.984 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.1316, allocations: 19.83 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1316, allocations: 4 kB / 487.8 MB, free: 14.76 MB / 366.1 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 () * Number of clocked 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 0.0001152/0.1317, allocations: 129.8 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1318, allocations: 11.81 kB / 488 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.1318, allocations: 25.39 kB / 488 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1318, allocations: 3.953 kB / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1318, allocations: 0 / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1318, allocations: 0 / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.132, allocations: 213.6 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.132, allocations: 0 / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.289e-05/0.1321, allocations: 16 kB / 488.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1321, allocations: 0 / 488.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1321, allocations: 4 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1322, allocations: 4 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1322, allocations: 7.953 kB / 488.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.1325, allocations: 184.8 kB / 488.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.1326, allocations: 92.89 kB / 488.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.1326, allocations: 11.98 kB / 488.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.003e-05/0.1327, allocations: 8.062 kB / 488.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.1327, allocations: 7.984 kB / 488.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.1328, allocations: 7.953 kB / 488.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1329, allocations: 148.4 kB / 488.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1329, allocations: 0 / 488.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1331, allocations: 24 kB / 488.7 MB, free: 13.78 MB / 366.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001395/0.1345, allocations: 1.022 MB / 489.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1348, allocations: 84.08 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1348, allocations: 0 / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.1349, allocations: 39.92 kB / 489.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.1352, allocations: 42.33 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.1366, allocations: 0.8619 MB / 490.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1369, allocations: 0.7203 MB / 491.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.218e-05/0.137, allocations: 13.42 kB / 491.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.137, allocations: 39.42 kB / 491.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.137, allocations: 4 kB / 491.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.1505, allocations: 3.34 MB / 494.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.1507, allocations: 222.6 kB / 495.1 MB, free: 7.531 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.056, allocations: 0 / 495.1 MB, free: 7.531 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat