Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007834/0.0007836, allocations: 102.2 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.001197/0.001197, allocations: 192.5 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.371/1.371, allocations: 227.4 MB / 246 MB, free: 10.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2022/0.2022, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002573/0.0002574, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1227, allocations: 63.48 MB / 481.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002033/0.1248, allocations: 1.427 MB / 483.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1262, allocations: 0.944 MB / 484 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/0.1263, allocations: 4 kB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.1266, allocations: 43.83 kB / 484.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1268, allocations: 67.77 kB / 484.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1271, allocations: 99.5 kB / 484.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.1273, allocations: 91.69 kB / 484.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.604e-05/0.1274, allocations: 4 kB / 484.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.977e-05/0.1275, allocations: 43.78 kB / 484.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.1276, allocations: 31.84 kB / 484.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1276, allocations: 8 kB / 484.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.595e-05/0.1277, allocations: 35.98 kB / 484.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.1277, allocations: 11.92 kB / 484.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.1278, allocations: 49.58 kB / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1279, allocations: 84.09 kB / 484.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1279, allocations: 0 / 484.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1279, allocations: 0 / 484.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.128, allocations: 0 / 484.6 MB, free: 2.281 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.0004988/0.1285, allocations: 402.8 kB / 485 MB, free: 1.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1285, allocations: 19.97 kB / 485 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.1286, allocations: 34.56 kB / 485 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.1286, allocations: 7.906 kB / 485 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.1288, allocations: 207.5 kB / 485.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1288, allocations: 4 kB / 485.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.1289, allocations: 4 kB / 485.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.129, allocations: 49.67 kB / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.129, allocations: 0 / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.129, allocations: 4 kB / 485.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.129, allocations: 8 kB / 485.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.05e-05/0.1291, allocations: 23.92 kB / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.1295, allocations: 292.8 kB / 485.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.1296, allocations: 54.67 kB / 485.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.1297, allocations: 24.84 kB / 485.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1297, allocations: 4 kB / 485.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.1299, allocations: 67.33 kB / 485.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1299, allocations: 0 / 485.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005156/0.1304, allocations: 185.1 kB / 485.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.1305, allocations: 59.36 kB / 486 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1306, allocations: 190.9 kB / 486.2 MB, free: 480 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1307, allocations: 29.7 kB / 486.2 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.1307, allocations: 100.1 kB / 486.3 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1307, allocations: 19.72 kB / 486.3 MB, free: 320 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.1308, allocations: 8 kB / 486.3 MB, free: 312 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1309, allocations: 318.8 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.1309, allocations: 23.98 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.131, allocations: 33.7 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.276e-05/0.1311, allocations: 24 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1311, allocations: 4 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001695/0.1313, allocations: 105.4 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1313, allocations: 4.188 kB / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1313, allocations: 0 / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1313, allocations: 7.938 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.1314, allocations: 15.98 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1314, allocations: 7.891 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.1315, allocations: 8 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1315, allocations: 8.031 kB / 486.9 MB, free: 15.73 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 (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.0001078/0.1316, allocations: 129.8 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.1316, allocations: 7.906 kB / 487 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.1317, allocations: 17.41 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1317, allocations: 0 / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1317, allocations: 0 / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1317, allocations: 3.953 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.1321, allocations: 407.4 kB / 487.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1321, allocations: 0 / 487.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.1321, allocations: 8 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1321, allocations: 0 / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1322, allocations: 4 kB / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1322, allocations: 4.328 kB / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1322, allocations: 0 / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1324, allocations: 212.2 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.1325, allocations: 92.92 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.1325, allocations: 4 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.1326, allocations: 7.984 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1326, allocations: 7.953 kB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1326, allocations: 4 kB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1328, allocations: 152.7 kB / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1328, allocations: 0 / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.133, allocations: 27.98 kB / 488 MB, free: 14.56 MB / 366.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.001411/0.1345, allocations: 1.08 MB / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.1347, allocations: 59.91 kB / 489.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1347, allocations: 0 / 489.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.1347, allocations: 28 kB / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1351, allocations: 27.92 kB / 489.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.1363, allocations: 0.7389 MB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1365, allocations: 0.7083 MB / 490.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.441e-05/0.1366, allocations: 17.17 kB / 490.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.1367, allocations: 35.42 kB / 490.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1367, allocations: 0 / 490.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.1551, allocations: 3.01 MB / 493.7 MB, free: 9.039 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/0.1554, allocations: 219.3 kB / 493.9 MB, free: 8.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.117, allocations: 0 / 493.9 MB, free: 8.801 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat