Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008044/0.0008044, allocations: 96.25 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.0008454/0.0008455, allocations: 193 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.439/1.439, 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.2116/0.2116, allocations: 45.91 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 8 kB / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 63.46 MB / 481.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001992/0.1323, allocations: 1.439 MB / 483.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1337, allocations: 0.9401 MB / 484 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.1338, allocations: 0 / 484 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.1341, allocations: 39.83 kB / 484.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1344, allocations: 71.75 kB / 484.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.1347, allocations: 99.75 kB / 484.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.1349, allocations: 87.69 kB / 484.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.135, allocations: 12 kB / 484.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.1351, allocations: 39.78 kB / 484.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.1351, allocations: 31.84 kB / 484.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1352, allocations: 0 / 484.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.695e-05/0.1353, allocations: 35.98 kB / 484.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.1353, allocations: 19.92 kB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.1354, allocations: 41.64 kB / 484.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1355, allocations: 84.09 kB / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1355, allocations: 0 / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1355, allocations: 0 / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1355, allocations: 0 / 484.6 MB, free: 2.25 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.0005131/0.136, allocations: 406.8 kB / 485 MB, free: 1.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1361, allocations: 8.031 kB / 485 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.1361, allocations: 42.5 kB / 485 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.1362, allocations: 7.906 kB / 485 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1364, allocations: 211.5 kB / 485.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1365, allocations: 4 kB / 485.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.1365, allocations: 4 kB / 485.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1366, allocations: 53.67 kB / 485.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1366, allocations: 0 / 485.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1367, allocations: 3.938 kB / 485.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1367, allocations: 0 / 485.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.245e-05/0.1367, allocations: 19.98 kB / 485.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.1371, allocations: 292.8 kB / 485.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1373, allocations: 58.67 kB / 485.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.1374, allocations: 24.84 kB / 485.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.1374, allocations: 0 / 485.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.1376, allocations: 75.33 kB / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1376, allocations: 0 / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005186/0.1381, allocations: 185.1 kB / 485.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.1382, allocations: 55.36 kB / 486 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1384, allocations: 194.9 kB / 486.2 MB, free: 444 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1384, allocations: 25.7 kB / 486.2 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.1385, allocations: 104.1 kB / 486.3 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.1385, allocations: 19.72 kB / 486.3 MB, free: 284 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-06/0.1385, allocations: 8 kB / 486.3 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1386, allocations: 322.8 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.1387, allocations: 23.98 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.1388, allocations: 33.7 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.558e-05/0.1388, allocations: 20 kB / 486.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1389, allocations: 0 / 486.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001721/0.139, allocations: 113.4 kB / 486.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1391, allocations: 8.031 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1391, allocations: 0 / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1391, allocations: 0 / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.543e-05/0.1392, allocations: 16 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1392, allocations: 3.953 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.1392, allocations: 7.984 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1393, allocations: 0 / 486.9 MB, free: 15.71 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.0001067/0.1394, allocations: 137.7 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.1394, allocations: 11.91 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.1394, allocations: 17.39 kB / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1394, allocations: 0 / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1395, allocations: 4 kB / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1395, allocations: 3.953 kB / 487 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.1399, allocations: 395.2 kB / 487.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1399, allocations: 4.188 kB / 487.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.1399, allocations: 4 kB / 487.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.14, allocations: 11.97 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.14, allocations: 0 / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.14, allocations: 3.953 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.14, allocations: 4 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.1402, allocations: 204.2 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.1403, allocations: 88.91 kB / 487.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1403, allocations: 8.375 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.1404, allocations: 8 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.1404, allocations: 7.938 kB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1404, allocations: 8 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1406, allocations: 152.7 kB / 487.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1406, allocations: 0 / 487.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.1408, allocations: 20 kB / 487.9 MB, free: 14.54 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.001457/0.1423, allocations: 1.087 MB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.1425, allocations: 59.97 kB / 489.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1425, allocations: 3.938 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.461e-05/0.1425, allocations: 24 kB / 489.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1429, allocations: 27.92 kB / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.144, allocations: 0.7312 MB / 489.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.1443, allocations: 0.7083 MB / 490.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.955e-05/0.1444, allocations: 16.88 kB / 490.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.1445, allocations: 39.36 kB / 490.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1445, allocations: 0 / 490.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.1586, allocations: 3.008 MB / 493.7 MB, free: 9.016 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.1589, allocations: 220 kB / 493.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.093, allocations: 11.94 kB / 493.9 MB, free: 8.762 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat