Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",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.001201/0.001201, allocations: 98.36 kB / 16.99 MB, free: 5.938 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.001398/0.001398, allocations: 182.7 kB / 17.87 MB, free: 5.609 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.522/1.522, allocations: 223.2 MB / 241.8 MB, free: 380 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.2563/0.2563, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003189, allocations: 18.45 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002103/0.1366, allocations: 1.351 MB / 472.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1379, allocations: 0.7763 MB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.138, allocations: 3.938 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.1384, allocations: 47.81 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.1387, allocations: 47.88 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.1391, allocations: 91.39 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.1393, allocations: 63.84 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.006e-05/0.1394, allocations: 4 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1395, allocations: 35.84 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1396, allocations: 31.84 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1397, allocations: 0 / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1398, allocations: 19.94 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.1398, allocations: 23.91 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.1399, allocations: 33.7 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1401, allocations: 76.11 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1401, allocations: 0 / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1401, allocations: 3.938 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1401, allocations: 0 / 474.2 MB, free: 11.02 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006914/0.1408, allocations: 386.9 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.1409, allocations: 11.97 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.423e-05/0.141, allocations: 34.56 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.141, allocations: 7.906 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.1414, allocations: 202.9 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1414, allocations: 0 / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.1414, allocations: 7.953 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1416, allocations: 49.67 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1416, allocations: 3.938 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1416, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1416, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.024e-05/0.1417, allocations: 12 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.142, allocations: 173.7 kB / 475 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1422, allocations: 58.61 kB / 475.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.1423, allocations: 4 kB / 475.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.1425, allocations: 71.38 kB / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.044e-06/0.1425, allocations: 0 / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003098/0.1428, allocations: 89.56 kB / 475.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.1429, allocations: 59.41 kB / 475.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1431, allocations: 180.3 kB / 475.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1431, allocations: 29.7 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.1432, allocations: 92.14 kB / 475.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.1432, allocations: 11.89 kB / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.1433, allocations: 4 kB / 475.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1434, allocations: 318.8 kB / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.549e-05/0.1435, allocations: 15.94 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.1435, allocations: 33.7 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.1436, allocations: 16 kB / 476 MB, free: 8.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1436, allocations: 0 / 476 MB, free: 8.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001628/0.1438, allocations: 77.84 kB / 476.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1438, allocations: 15.88 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1438, allocations: 0 / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1438, allocations: 4 kB / 476.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.725e-05/0.1439, allocations: 16.03 kB / 476.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1439, allocations: 3.938 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.344e-05/0.144, allocations: 7.906 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.144, allocations: 0 / 476.1 MB, free: 8.832 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 (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 9.521e-05/0.1441, allocations: 122.4 kB / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.855e-05/0.1441, allocations: 7.906 kB / 476.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.1442, allocations: 16.27 kB / 476.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.1442, allocations: 4 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1442, allocations: 3.984 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1442, allocations: 4 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.1444, allocations: 185.6 kB / 476.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1444, allocations: 0 / 476.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.1444, allocations: 4 kB / 476.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1444, allocations: 0 / 476.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1444, allocations: 4 kB / 476.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1444, allocations: 7.891 kB / 476.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1444, allocations: 0 / 476.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.1446, allocations: 105 kB / 476.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.1447, allocations: 93 kB / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.1447, allocations: 0 / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.1447, allocations: 0 / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.1448, allocations: 7.953 kB / 476.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1448, allocations: 3.984 kB / 476.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.709e-05/0.1449, allocations: 138.8 kB / 476.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1449, allocations: 0 / 476.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.1451, allocations: 16 kB / 476.8 MB, free: 8.027 MB / 350.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.001295/0.1464, allocations: 0.9569 MB / 477.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1466, allocations: 31.98 kB / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1466, allocations: 0 / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.356e-05/0.1467, allocations: 23.92 kB / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.147, allocations: 35.94 kB / 477.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.1483, allocations: 0.7517 MB / 478.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.1486, allocations: 0.6965 MB / 479.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.746e-05/0.1487, allocations: 20.78 kB / 479.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.1487, allocations: 31.42 kB / 479.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1487, allocations: 3.938 kB / 479.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.1623, allocations: 2.559 MB / 481.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002973/0.1627, allocations: 215.5 kB / 482.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/1.855, allocations: 8.062 kB / 482.1 MB, free: 2.848 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat does not exist to compare? outputFormat=mat