Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009712/0.0009712, allocations: 98.17 kB / 17 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 194 kB / 17.91 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, 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.2176/0.2176, allocations: 45.92 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002883, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 63.47 MB / 481.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002218/0.1331, allocations: 1.396 MB / 483 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1346, allocations: 0.9324 MB / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.1347, allocations: 0 / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.135, allocations: 51.8 kB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.1353, allocations: 87.72 kB / 484.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.1355, allocations: 87.83 kB / 484.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1357, allocations: 87.69 kB / 484.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.1358, allocations: 4.234 kB / 484.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.1358, allocations: 43.78 kB / 484.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.1359, allocations: 31.84 kB / 484.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.136, allocations: 0 / 484.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.449e-05/0.136, allocations: 24 kB / 484.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.1361, allocations: 31.84 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.1362, allocations: 41.64 kB / 484.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1363, allocations: 96.08 kB / 484.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1363, allocations: 0 / 484.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1363, allocations: 0 / 484.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1363, allocations: 0 / 484.6 MB, free: 2.312 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.0005789/0.1369, allocations: 418.7 kB / 485 MB, free: 1.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.137, allocations: 8.031 kB / 485 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.935e-05/0.137, allocations: 38.56 kB / 485 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.1371, allocations: 19.81 kB / 485 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.1373, allocations: 207.8 kB / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1374, allocations: 7.938 kB / 485.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1374, allocations: 3.984 kB / 485.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1375, allocations: 49.67 kB / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.1375, allocations: 4 kB / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.1376, allocations: 0 / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1376, allocations: 0 / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.303e-05/0.1376, allocations: 15.98 kB / 485.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.1379, allocations: 201.5 kB / 485.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.138, allocations: 54.55 kB / 485.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.1381, allocations: 20.84 kB / 485.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1381, allocations: 0 / 485.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.1383, allocations: 71.33 kB / 485.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1383, allocations: 0 / 485.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002816/0.1386, allocations: 97.48 kB / 485.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.1386, allocations: 55.34 kB / 485.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.1389, allocations: 268 kB / 486.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.139, allocations: 25.7 kB / 486.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.139, allocations: 112.1 kB / 486.2 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.1391, allocations: 15.83 kB / 486.2 MB, free: 444 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.1391, allocations: 8 kB / 486.2 MB, free: 436 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1392, allocations: 334.7 kB / 486.5 MB, free: 92 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.556e-05/0.1393, allocations: 15.98 kB / 486.6 MB, free: 76 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.791e-05/0.1393, allocations: 21.72 kB / 486.6 MB, free: 48 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.814e-05/0.1394, allocations: 15.98 kB / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1394, allocations: 0 / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.1396, allocations: 93.47 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1396, allocations: 4 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1396, allocations: 4.156 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.1396, allocations: 0 / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.1397, allocations: 11.98 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1397, allocations: 3.984 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.1398, allocations: 4 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1398, allocations: 4 kB / 486.7 MB, free: 15.9 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.0001152/0.1399, allocations: 136 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1399, allocations: 23.75 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.14, allocations: 20.98 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.14, allocations: 0 / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.14, allocations: 0 / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.14, allocations: 0 / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1401, allocations: 205.9 kB / 487.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1402, allocations: 4 kB / 487.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.1402, allocations: 4 kB / 487.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1402, allocations: 0 / 487.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1402, allocations: 0 / 487.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1402, allocations: 0 / 487.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1402, allocations: 4 kB / 487.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.1404, allocations: 108.9 kB / 487.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.1404, allocations: 100.9 kB / 487.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1405, allocations: 0 / 487.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.1405, allocations: 4 kB / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.1406, allocations: 7.969 kB / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1406, allocations: 7.938 kB / 487.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.1408, allocations: 208.6 kB / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1408, allocations: 3.938 kB / 487.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000209/0.141, allocations: 16 kB / 487.6 MB, free: 14.98 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.001353/0.1424, allocations: 0.9482 MB / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.1426, allocations: 47.92 kB / 488.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1426, allocations: 0 / 488.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.453e-05/0.1426, allocations: 19.98 kB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.1429, allocations: 27.61 kB / 488.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.1441, allocations: 0.838 MB / 489.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.1446, allocations: 0.7208 MB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.1446, allocations: 12.55 kB / 490.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.762e-05/0.1447, allocations: 35.42 kB / 490.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1447, allocations: 0 / 490.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.1589, allocations: 3.062 MB / 493.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.1592, allocations: 222.4 kB / 493.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.068, allocations: 3.938 kB / 493.5 MB, free: 9.184 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat