Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008311/0.0008311, allocations: 95.61 kB / 15.7 MB, free: 464 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008644/0.0008645, allocations: 174.6 kB / 16.58 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3773/0.3773, allocations: 43.54 MB / 314.6 MB, free: 8.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.0005119, allocations: 20 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1355, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002189/0.1377, allocations: 1.356 MB / 444.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.139, allocations: 0.7188 MB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.471e-05/0.1391, allocations: 3.938 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.1394, allocations: 63.84 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1396, allocations: 51.81 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.1399, allocations: 75.84 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.1401, allocations: 87.62 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.627e-05/0.1402, allocations: 7.984 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.1403, allocations: 39.84 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1405, allocations: 39.83 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.1405, allocations: 4 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1406, allocations: 35.92 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.1407, allocations: 7.984 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.1407, allocations: 37.64 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1409, allocations: 72.11 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1409, allocations: 0 / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1409, allocations: 0 / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1409, allocations: 0 / 445.5 MB, free: 10.33 MB / 382.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.0005888/0.1415, allocations: 398.8 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1416, allocations: 8.031 kB / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.1416, allocations: 42.55 kB / 445.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.1417, allocations: 7.906 kB / 445.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1419, allocations: 202.8 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.142, allocations: 4 kB / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.142, allocations: 0 / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1421, allocations: 45.67 kB / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1422, allocations: 0 / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1422, allocations: 7.953 kB / 446.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1422, allocations: 0 / 446.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.654e-05/0.1423, allocations: 19.92 kB / 446.2 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.1425, allocations: 181.7 kB / 446.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1426, allocations: 54.61 kB / 446.4 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.1427, allocations: 20.84 kB / 446.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.1427, allocations: 0 / 446.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.143, allocations: 67.39 kB / 446.5 MB, free: 9.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.143, allocations: 3.938 kB / 446.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000325/0.1433, allocations: 101.5 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.1434, allocations: 55.34 kB / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.1436, allocations: 182.2 kB / 446.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1436, allocations: 29.69 kB / 446.9 MB, free: 8.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.1437, allocations: 100.1 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.1437, allocations: 11.91 kB / 447 MB, free: 8.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.1437, allocations: 4 kB / 447 MB, free: 8.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1439, allocations: 322.8 kB / 447.3 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.1439, allocations: 15.98 kB / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.762e-05/0.144, allocations: 29.7 kB / 447.4 MB, free: 8.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/0.1441, allocations: 15.94 kB / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1441, allocations: 4 kB / 447.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001648/0.1442, allocations: 77.59 kB / 447.4 MB, free: 8.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1443, allocations: 4 kB / 447.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1443, allocations: 0 / 447.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1443, allocations: 4 kB / 447.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.1444, allocations: 19.92 kB / 447.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1444, allocations: 3.953 kB / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.135e-05/0.1445, allocations: 7.906 kB / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.1445, allocations: 0 / 447.5 MB, free: 8.082 MB / 382.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.0001074/0.1446, allocations: 133.7 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.1446, allocations: 15.94 kB / 447.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.1447, allocations: 12.47 kB / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1447, allocations: 0 / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1447, allocations: 0 / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1447, allocations: 7.938 kB / 447.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.1448, allocations: 181.6 kB / 447.8 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1449, allocations: 0 / 447.8 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.1449, allocations: 4 kB / 447.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1449, allocations: 0 / 447.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1449, allocations: 0 / 447.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1449, allocations: 0 / 447.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1449, allocations: 7.984 kB / 447.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1451, allocations: 113.2 kB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.1452, allocations: 92.97 kB / 448 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1452, allocations: 4 kB / 448 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/0.1453, allocations: 4 kB / 448.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.1453, allocations: 11.98 kB / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1453, allocations: 0 / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.1454, allocations: 144.1 kB / 448.2 MB, free: 7.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1455, allocations: 0 / 448.2 MB, free: 7.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1457, allocations: 19.98 kB / 448.2 MB, free: 7.254 MB / 382.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.001243/0.1469, allocations: 0.9505 MB / 449.2 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.1471, allocations: 39.98 kB / 449.2 MB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1471, allocations: 0 / 449.2 MB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.1472, allocations: 15.94 kB / 449.2 MB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.1474, allocations: 27.97 kB / 449.3 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.1488, allocations: 0.6311 MB / 449.9 MB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.1493, allocations: 0.7043 MB / 450.6 MB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.272e-05/0.1494, allocations: 20.41 kB / 450.6 MB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.046e-05/0.1495, allocations: 31.42 kB / 450.6 MB, free: 4.766 MB / 382.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1495, allocations: 0 / 450.6 MB, free: 4.766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.1644, allocations: 2.638 MB / 453.3 MB, free: 2.133 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.1646, allocations: 225.5 kB / 453.5 MB, free: 1.887 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/1.914, allocations: 0 / 453.5 MB, free: 1.887 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat