Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009061/0.000906, allocations: 99.11 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 191.1 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 16 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1263, allocations: 63.47 MB / 481.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002168/0.1285, allocations: 1.392 MB / 483 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.13, allocations: 0.9285 MB / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.1301, allocations: 0 / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1305, allocations: 51.8 kB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.1307, allocations: 87.72 kB / 484.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.131, allocations: 87.83 kB / 484.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1312, allocations: 87.64 kB / 484.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.81e-05/0.1312, allocations: 12.2 kB / 484.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.702e-05/0.1313, allocations: 43.73 kB / 484.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.74e-05/0.1314, allocations: 35.78 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1315, allocations: 8 kB / 484.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.1315, allocations: 20 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.1316, allocations: 27.89 kB / 484.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.1317, allocations: 41.64 kB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.1318, allocations: 92.09 kB / 484.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.1319, allocations: 3.984 kB / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1319, allocations: 0 / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1319, allocations: 0 / 484.6 MB, free: 2.285 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005344/0.1324, allocations: 418.7 kB / 485 MB, free: 1.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1325, allocations: 12.03 kB / 485 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.1325, allocations: 34.55 kB / 485 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.1326, allocations: 15.81 kB / 485 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1328, allocations: 211.8 kB / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1328, allocations: 0 / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1328, allocations: 4 kB / 485.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.133, allocations: 49.67 kB / 485.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.133, allocations: 0 / 485.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.133, allocations: 0 / 485.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.133, allocations: 0 / 485.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.775e-05/0.1331, allocations: 19.94 kB / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.1333, allocations: 205.5 kB / 485.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.1335, allocations: 50.61 kB / 485.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.009e-05/0.1335, allocations: 16.86 kB / 485.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1336, allocations: 0 / 485.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.1337, allocations: 67.39 kB / 485.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1338, allocations: 0 / 485.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002884/0.1341, allocations: 105.4 kB / 485.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.1341, allocations: 51.41 kB / 485.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.1344, allocations: 268 kB / 486.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1344, allocations: 25.7 kB / 486.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.1345, allocations: 112.1 kB / 486.2 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1345, allocations: 23.83 kB / 486.2 MB, free: 420 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.1345, allocations: 0 / 486.2 MB, free: 420 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1346, allocations: 330.8 kB / 486.5 MB, free: 80 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.1347, allocations: 12 kB / 486.5 MB, free: 68 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.191e-05/0.1347, allocations: 29.69 kB / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.1348, allocations: 15.94 kB / 486.6 MB, free: 16 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1348, allocations: 0 / 486.6 MB, free: 16 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001674/0.135, allocations: 93.48 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.135, allocations: 10.5 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.135, allocations: 4.25 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.135, allocations: 3.984 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.1351, allocations: 11.94 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1351, allocations: 4 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.1352, allocations: 7.984 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1352, allocations: 4 kB / 486.7 MB, free: 15.88 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0001081/0.1353, allocations: 141.8 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.1353, allocations: 15.81 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.1354, allocations: 17 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1354, allocations: 0 / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1354, allocations: 3.984 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1354, allocations: 0 / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.1355, allocations: 201.6 kB / 487.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1356, allocations: 0 / 487.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.1356, allocations: 4 kB / 487.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1356, allocations: 0 / 487.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1356, allocations: 4 kB / 487.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1356, allocations: 0 / 487.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1356, allocations: 0 / 487.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.1358, allocations: 112.9 kB / 487.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.1358, allocations: 100.9 kB / 487.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1359, allocations: 0 / 487.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.1359, allocations: 4 kB / 487.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.1359, allocations: 0 / 487.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.136, allocations: 11.98 kB / 487.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.1362, allocations: 200.6 kB / 487.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1362, allocations: 0 / 487.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002095/0.1364, allocations: 23.98 kB / 487.5 MB, free: 14.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.00135/0.1377, allocations: 0.9686 MB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.1379, allocations: 31.98 kB / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1379, allocations: 0 / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.736e-05/0.138, allocations: 19.94 kB / 488.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.1383, allocations: 31.91 kB / 488.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1396, allocations: 0.8304 MB / 489.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.14, allocations: 0.7208 MB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.289e-05/0.14, allocations: 8.812 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.1401, allocations: 35.42 kB / 490.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1401, allocations: 4 kB / 490.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.1535, allocations: 3.058 MB / 493.3 MB, free: 9.414 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.1537, allocations: 219.6 kB / 493.5 MB, free: 9.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.033, allocations: 7.938 kB / 493.5 MB, free: 9.168 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat