Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009634/0.0009635, allocations: 100.2 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, allocations: 197.4 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2422/0.2422, allocations: 45.91 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002636, allocations: 11.94 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 63.46 MB / 481.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002183/0.133, allocations: 1.635 MB / 483.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1345, allocations: 0.9752 MB / 484.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.93e-05/0.1346, allocations: 11.94 kB / 484.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.1349, allocations: 43.77 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.1351, allocations: 79.67 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.1354, allocations: 99.56 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1356, allocations: 131.5 kB / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1358, allocations: 25.55 kB / 484.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.1359, allocations: 51.72 kB / 484.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.016e-05/0.1359, allocations: 39.78 kB / 484.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.136, allocations: 4 kB / 484.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1361, allocations: 39.92 kB / 484.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.1361, allocations: 19.92 kB / 484.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.1362, allocations: 41.64 kB / 484.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1364, allocations: 112 kB / 484.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1364, allocations: 0 / 484.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1364, allocations: 4 kB / 484.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1364, allocations: 4 kB / 485 MB, free: 1.914 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006327/0.137, allocations: 468.3 kB / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1371, allocations: 8.031 kB / 485.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/0.1371, allocations: 38.56 kB / 485.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1372, allocations: 15.81 kB / 485.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1374, allocations: 224.4 kB / 485.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1375, allocations: 4 kB / 485.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1375, allocations: 12 kB / 485.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1377, allocations: 108.2 kB / 485.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1378, allocations: 0 / 485.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1378, allocations: 4 kB / 485.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1378, allocations: 4 kB / 485.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.1379, allocations: 55.89 kB / 485.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.1386, allocations: 0.5087 MB / 486.4 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.1389, allocations: 98.59 kB / 486.5 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.13e-05/0.139, allocations: 36.84 kB / 486.5 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.139, allocations: 0 / 486.5 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.1393, allocations: 83.38 kB / 486.6 MB, free: 68 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.1393, allocations: 0 / 486.6 MB, free: 68 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000417/0.1397, allocations: 157.3 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1397, allocations: 51.41 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.14, allocations: 210.1 kB / 487 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.14, allocations: 29.7 kB / 487 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.1401, allocations: 119.9 kB / 487.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.1401, allocations: 27.7 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.1401, allocations: 0 / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1403, allocations: 326.8 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.1404, allocations: 31.92 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1405, allocations: 68.27 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.248e-05/0.1406, allocations: 35.98 kB / 487.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1406, allocations: 0 / 487.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002647/0.1409, allocations: 141.3 kB / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1409, allocations: 11.94 kB / 487.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1409, allocations: 0 / 487.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1409, allocations: 3.953 kB / 487.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.141, allocations: 27.98 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.141, allocations: 4 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.726e-05/0.1411, allocations: 15.97 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1411, allocations: 4 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001063/0.1412, allocations: 133.8 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.1413, allocations: 11.81 kB / 488 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.1413, allocations: 21.39 kB / 488 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1413, allocations: 7.953 kB / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1413, allocations: 0 / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1413, allocations: 4.453 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.1415, allocations: 209.6 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1415, allocations: 4 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-05/0.1416, allocations: 12 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1416, allocations: 0 / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1417, allocations: 11.92 kB / 488.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1417, allocations: 4 kB / 488.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1417, allocations: 3.953 kB / 488.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.142, allocations: 184.8 kB / 488.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.1421, allocations: 100.9 kB / 488.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1421, allocations: 4 kB / 488.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.867e-05/0.1422, allocations: 4 kB / 488.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.1422, allocations: 7.984 kB / 488.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.1423, allocations: 11.95 kB / 488.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1424, allocations: 144.4 kB / 488.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1424, allocations: 4.062 kB / 488.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1426, allocations: 27.98 kB / 488.7 MB, free: 13.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001434/0.1441, allocations: 1.01 MB / 489.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.1443, allocations: 83.83 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1443, allocations: 0 / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.684e-05/0.1444, allocations: 39.92 kB / 489.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1447, allocations: 45.83 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.1462, allocations: 0.8683 MB / 490.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1465, allocations: 0.7165 MB / 491.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.834e-05/0.1466, allocations: 13.42 kB / 491.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.1466, allocations: 43.42 kB / 491.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1467, allocations: 4 kB / 491.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.1611, allocations: 3.349 MB / 494.9 MB, free: 7.758 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/0.1614, allocations: 218.8 kB / 495.1 MB, free: 7.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.114, allocations: 0 / 495.1 MB, free: 7.52 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat