Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",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.001093/0.001093, allocations: 97.17 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 178.2 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2345/0.2345, allocations: 44.23 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 8 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 61.91 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002406/0.1336, allocations: 1.572 MB / 473.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1352, allocations: 0.8309 MB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.1353, allocations: 4 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.1356, allocations: 35.77 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.1358, allocations: 51.88 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.1363, allocations: 115 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.1365, allocations: 79.84 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1366, allocations: 21.48 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1367, allocations: 51.77 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.1368, allocations: 43.72 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.1368, allocations: 4 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.137, allocations: 31.92 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.137, allocations: 19.92 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.1371, allocations: 37.64 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1372, allocations: 112 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1372, allocations: 0 / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1373, allocations: 0 / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1373, allocations: 0 / 474.5 MB, free: 10.66 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.0005913/0.1379, allocations: 460.4 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1379, allocations: 8.031 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.138, allocations: 42.5 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.138, allocations: 19.81 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1383, allocations: 218.8 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1383, allocations: 4 kB / 475.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1383, allocations: 11.95 kB / 475.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.1386, allocations: 115.1 kB / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1386, allocations: 0 / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1386, allocations: 4 kB / 475.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1386, allocations: 0 / 475.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.1388, allocations: 55.91 kB / 475.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.1394, allocations: 0.5087 MB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.1397, allocations: 94.61 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1397, allocations: 4 kB / 476.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.14, allocations: 75.38 kB / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.14, allocations: 0 / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004059/0.1404, allocations: 157.5 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.1404, allocations: 51.41 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.1406, allocations: 191.4 kB / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1407, allocations: 29.7 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.1407, allocations: 112 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1408, allocations: 27.64 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.1408, allocations: 0 / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1409, allocations: 334.8 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.24e-05/0.141, allocations: 36.05 kB / 477.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1411, allocations: 64.27 kB / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1413, allocations: 39.94 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1413, allocations: 0 / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002602/0.1415, allocations: 137.7 kB / 477.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1416, allocations: 6.5 kB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1416, allocations: 8.219 kB / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1416, allocations: 7.922 kB / 477.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1417, allocations: 27.94 kB / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1417, allocations: 0 / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.1418, allocations: 19.83 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1418, allocations: 4 kB / 477.4 MB, free: 7.566 MB / 350.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.000126/0.142, allocations: 130.3 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.142, allocations: 19.8 kB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.142, allocations: 21.41 kB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1421, allocations: 0 / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.1421, allocations: 0 / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1421, allocations: 4 kB / 477.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.1423, allocations: 209.7 kB / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1423, allocations: 0 / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.1424, allocations: 15.98 kB / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1424, allocations: 0 / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1424, allocations: 4 kB / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1424, allocations: 0 / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1424, allocations: 4 kB / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.1428, allocations: 188.8 kB / 478 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.1429, allocations: 88.98 kB / 478 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.1429, allocations: 12 kB / 478 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.143, allocations: 16.05 kB / 478.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.143, allocations: 4 kB / 478.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.143, allocations: 7.984 kB / 478.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.1432, allocations: 137.2 kB / 478.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1432, allocations: 0 / 478.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1434, allocations: 31.89 kB / 478.2 MB, free: 6.598 MB / 350.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.001517/0.145, allocations: 1.018 MB / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1452, allocations: 87.95 kB / 479.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1452, allocations: 0 / 479.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.1453, allocations: 39.92 kB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.1456, allocations: 34.22 kB / 479.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.1471, allocations: 1.441 MB / 480.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.1473, allocations: 0.7278 MB / 481.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.723e-05/0.1474, allocations: 17.41 kB / 481.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.1475, allocations: 39.42 kB / 481.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1475, allocations: 0 / 481.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.1611, allocations: 3.247 MB / 484.9 MB, free: 124 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003365/0.1615, allocations: 224.8 kB / 485.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.903, allocations: 0 / 485.1 MB, free: 15.87 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat