Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",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.001033/0.001033, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.00112/0.00112, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.375/1.375, allocations: 223.2 MB / 241.9 MB, free: 248 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.2241/0.2241, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003365, allocations: 16 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.00234/0.1321, allocations: 1.394 MB / 473.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1335, allocations: 0.7998 MB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.1336, allocations: 0 / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.1339, allocations: 51.8 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.1341, allocations: 47.83 kB / 474 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1343, allocations: 95.39 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1345, allocations: 79.7 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.1346, allocations: 16.2 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.1347, allocations: 43.78 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.269e-05/0.1348, allocations: 27.84 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1348, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.309e-05/0.1349, allocations: 39.98 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.135, allocations: 23.84 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.135, allocations: 41.64 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.1352, allocations: 84.09 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1352, allocations: 4 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1352, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1352, allocations: 0 / 474.4 MB, free: 10.88 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.000603/0.1358, allocations: 417 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1359, allocations: 8.031 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.136, allocations: 38.5 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.136, allocations: 15.81 kB / 474.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.1363, allocations: 203.4 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1363, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.1364, allocations: 11.95 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1365, allocations: 49.67 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1365, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1365, allocations: 8 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1366, allocations: 0 / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.336e-05/0.1366, allocations: 23.92 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.1371, allocations: 300.8 kB / 475.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.1372, allocations: 50.69 kB / 475.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.1373, allocations: 32.84 kB / 475.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1373, allocations: 0 / 475.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.1375, allocations: 67.33 kB / 475.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1375, allocations: 0 / 475.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005443/0.1381, allocations: 173.1 kB / 475.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.1381, allocations: 55.41 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.1384, allocations: 226.7 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1384, allocations: 29.7 kB / 476.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.1385, allocations: 104.1 kB / 476.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.1385, allocations: 23.66 kB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.1385, allocations: 4 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1387, allocations: 330.8 kB / 476.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.1388, allocations: 15.98 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.1389, allocations: 41.64 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.139, allocations: 28 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.139, allocations: 0 / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001787/0.1392, allocations: 105.6 kB / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1392, allocations: 10.5 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1392, allocations: 3.938 kB / 476.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1392, allocations: 0 / 476.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.1393, allocations: 15.98 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1393, allocations: 8.141 kB / 476.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1394, allocations: 8.031 kB / 476.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1394, allocations: 7.938 kB / 476.8 MB, free: 8.27 MB / 350.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.0001172/0.1395, allocations: 133.8 kB / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.1396, allocations: 7.906 kB / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.1396, allocations: 17.41 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1396, allocations: 0 / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1396, allocations: 0 / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1396, allocations: 3.984 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.1401, allocations: 407.2 kB / 477.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1402, allocations: 3.984 kB / 477.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.1402, allocations: 8 kB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1402, allocations: 0 / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1402, allocations: 3.984 kB / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1402, allocations: 4 kB / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1402, allocations: 0 / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1405, allocations: 208.2 kB / 477.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.1406, allocations: 88.92 kB / 477.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1406, allocations: 8.359 kB / 477.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.1407, allocations: 4 kB / 477.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.1407, allocations: 4 kB / 477.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1407, allocations: 11.98 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1409, allocations: 168.3 kB / 477.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1409, allocations: 4 kB / 477.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1411, allocations: 20 kB / 477.8 MB, free: 7.082 MB / 350.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.001417/0.1426, allocations: 1.102 MB / 479 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1427, allocations: 59.91 kB / 479 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1427, allocations: 0 / 479 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-05/0.1428, allocations: 27.98 kB / 479 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.1432, allocations: 27.41 kB / 479.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.1444, allocations: 0.8082 MB / 479.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.1447, allocations: 0.7083 MB / 480.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.223e-05/0.1447, allocations: 12.88 kB / 480.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.1448, allocations: 35.42 kB / 480.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1448, allocations: 4 kB / 480.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.1576, allocations: 3.077 MB / 483.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.1578, allocations: 217.9 kB / 483.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.017, allocations: 0 / 483.9 MB, free: 1.199 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat