Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001643/0.001643, allocations: 100.7 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002176/0.002176, allocations: 191.7 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 45.91 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.000283, allocations: 12 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1181, allocations: 63.48 MB / 481.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002103/0.1203, allocations: 1.603 MB / 483.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.1222, allocations: 1.057 MB / 484.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.1224, allocations: 3.938 kB / 484.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005852/0.123, allocations: 255.4 kB / 484.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004964/0.1235, allocations: 203.4 kB / 484.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.124, allocations: 158.9 kB / 484.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.1244, allocations: 227.3 kB / 485.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1246, allocations: 25.67 kB / 485.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.1248, allocations: 119.5 kB / 485.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.125, allocations: 155.5 kB / 485.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.125, allocations: 4 kB / 485.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1252, allocations: 55.92 kB / 485.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-05/0.1253, allocations: 63.75 kB / 485.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/0.1254, allocations: 61.52 kB / 485.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.1257, allocations: 183.9 kB / 485.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1257, allocations: 0 / 485.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.1257, allocations: 4 kB / 485.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1257, allocations: 0 / 485.8 MB, free: 1.059 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000659/0.1264, allocations: 0.5369 MB / 486.3 MB, free: 484 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1264, allocations: 8.031 kB / 486.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1264, allocations: 42.5 kB / 486.4 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.1265, allocations: 35.53 kB / 486.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.1268, allocations: 281.4 kB / 486.7 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1268, allocations: 4 kB / 486.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.1268, allocations: 11.98 kB / 486.7 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.1271, allocations: 113.6 kB / 486.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1271, allocations: 11.73 kB / 486.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1271, allocations: 8 kB / 486.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1272, allocations: 0 / 486.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.1273, allocations: 47.97 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.1278, allocations: 484.8 kB / 487.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.1282, allocations: 125.2 kB / 487.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1283, allocations: 45.83 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.1284, allocations: 3.938 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.1286, allocations: 113.1 kB / 487.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.804e-06/0.1287, allocations: 4 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001567/0.1302, allocations: 0.5044 MB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1303, allocations: 81.11 kB / 488.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/0.1308, allocations: 497.6 kB / 488.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1308, allocations: 33.69 kB / 488.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.131, allocations: 172.5 kB / 488.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.131, allocations: 74.98 kB / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.131, allocations: 4 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1312, allocations: 350.8 kB / 489.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.1313, allocations: 55.97 kB / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.1314, allocations: 87.39 kB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1316, allocations: 64 kB / 489.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1316, allocations: 0 / 489.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003671/0.1319, allocations: 249.2 kB / 489.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.132, allocations: 8 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.132, allocations: 0 / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.132, allocations: 4 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1321, allocations: 39.92 kB / 489.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1322, allocations: 8 kB / 489.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.677e-05/0.1323, allocations: 15.98 kB / 489.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1323, allocations: 8 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001653/0.1325, allocations: 178.3 kB / 490 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.1325, allocations: 35.58 kB / 490.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.345e-05/0.1326, allocations: 38.89 kB / 490.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1326, allocations: 4 kB / 490.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1326, allocations: 0 / 490.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1326, allocations: 3.984 kB / 490.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009066/0.1335, allocations: 0.739 MB / 490.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1336, allocations: 4 kB / 490.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.357e-05/0.1336, allocations: 36.05 kB / 490.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1337, allocations: 3.938 kB / 490.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.1337, allocations: 8 kB / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1337, allocations: 4 kB / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1337, allocations: 0 / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.1341, allocations: 432.6 kB / 491.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.1342, allocations: 108.7 kB / 491.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.1343, allocations: 11.98 kB / 491.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1344, allocations: 11.98 kB / 491.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.1345, allocations: 23.88 kB / 491.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.1345, allocations: 11.98 kB / 491.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.1349, allocations: 375.1 kB / 491.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1349, allocations: 0 / 491.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.1353, allocations: 47.98 kB / 491.9 MB, free: 10.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001702/0.137, allocations: 1.366 MB / 493.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.1373, allocations: 155.8 kB / 493.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1373, allocations: 0 / 493.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.1375, allocations: 83.97 kB / 493.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.1381, allocations: 61.45 kB / 493.6 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.1406, allocations: 1.808 MB / 495.4 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.1409, allocations: 0.7868 MB / 496.2 MB, free: 6.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.1411, allocations: 37.88 kB / 496.2 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.1412, allocations: 111.3 kB / 496.3 MB, free: 6.188 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1412, allocations: 3.938 kB / 496.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.1576, allocations: 6.021 MB / 0.4906 GB, free: 308 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.1578, allocations: 223.9 kB / 0.4908 GB, free: 56 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.129, allocations: 3.938 kB / 0.4908 GB, free: 52 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat