Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 109.2 kB / 20.48 MB, free: 1.477 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 211.8 kB / 23.79 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 207.6 MB / 234.6 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2445/0.2445, allocations: 44.24 MB / 331.1 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 74.88 kB / 468.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1384, allocations: 61.03 MB / 0.517 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003553/0.142, allocations: 1.716 MB / 0.5186 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1436, allocations: 0.8362 MB / 0.5195 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.1436, allocations: 3.938 kB / 0.5195 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.1439, allocations: 35.83 kB / 0.5195 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.1442, allocations: 55.7 kB / 0.5196 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1444, allocations: 91.69 kB / 0.5196 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1446, allocations: 95.7 kB / 0.5197 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.949e-05/0.1447, allocations: 12.2 kB / 0.5197 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.755e-05/0.1448, allocations: 43.8 kB / 0.5198 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.1449, allocations: 35.83 kB / 0.5198 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1449, allocations: 8 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.364e-05/0.145, allocations: 39.92 kB / 0.5199 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.145, allocations: 19.92 kB / 0.5199 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.1451, allocations: 35.73 kB / 0.5199 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.1453, allocations: 107.6 kB / 0.52 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1453, allocations: 3.984 kB / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1453, allocations: 0 / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1453, allocations: 0 / 0.52 GB, free: 4.121 MB / 398.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.0005104/0.1458, allocations: 329.7 kB / 0.5203 GB, free: 3.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1458, allocations: 15.97 kB / 0.5204 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.414e-05/0.1459, allocations: 4.188 kB / 0.5204 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.1459, allocations: 34.73 kB / 0.5204 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.1459, allocations: 12.89 kB / 0.5204 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.1462, allocations: 142.4 kB / 0.5205 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1462, allocations: 4.125 kB / 0.5205 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1463, allocations: 4 kB / 0.5205 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.1464, allocations: 53.67 kB / 0.5206 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1464, allocations: 3.953 kB / 0.5206 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1464, allocations: 8 kB / 0.5206 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1464, allocations: 0 / 0.5206 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.1465, allocations: 23.92 kB / 0.5206 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.1469, allocations: 260 kB / 0.5209 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.147, allocations: 46.69 kB / 0.5209 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.1471, allocations: 28.78 kB / 0.521 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1471, allocations: 0 / 0.521 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.1473, allocations: 75.27 kB / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1473, allocations: 0 / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005435/0.1478, allocations: 173.3 kB / 0.5212 GB, free: 2.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.1479, allocations: 51.41 kB / 0.5212 GB, free: 2.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.148, allocations: 178.2 kB / 0.5214 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1481, allocations: 29.7 kB / 0.5214 GB, free: 2.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.1481, allocations: 100.1 kB / 0.5215 GB, free: 2.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.1482, allocations: 23.84 kB / 0.5216 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.1482, allocations: 21.72 kB / 0.5216 GB, free: 2.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1483, allocations: 318.8 kB / 0.5219 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.884e-05/0.1484, allocations: 23.98 kB / 0.5219 GB, free: 2.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.05e-05/0.1485, allocations: 41.7 kB / 0.5219 GB, free: 1.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1486, allocations: 57.72 kB / 0.522 GB, free: 1.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1486, allocations: 0 / 0.522 GB, free: 1.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001917/0.1488, allocations: 105.6 kB / 0.5221 GB, free: 1.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1488, allocations: 11.94 kB / 0.5221 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1488, allocations: 0 / 0.5221 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1488, allocations: 0 / 0.5221 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1489, allocations: 15.98 kB / 0.5221 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1489, allocations: 11.97 kB / 0.5221 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.149, allocations: 0 / 0.5221 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.149, allocations: 8 kB / 0.5221 GB, free: 1.742 MB / 398.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.1491, allocations: 117.8 kB / 0.5223 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.1491, allocations: 11.94 kB / 0.5223 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.1494, allocations: 114.3 kB / 0.5224 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1494, allocations: 4 kB / 0.5224 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.1494, allocations: 7.922 kB / 0.5224 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1494, allocations: 7.984 kB / 0.5224 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.1499, allocations: 354.4 kB / 0.5227 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1499, allocations: 0 / 0.5227 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.1499, allocations: 12.36 kB / 0.5227 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1499, allocations: 3.938 kB / 0.5227 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1499, allocations: 12 kB / 0.5228 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1499, allocations: 3.938 kB / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.15, allocations: 0 / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.1502, allocations: 200.3 kB / 0.523 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.1502, allocations: 12.08 kB / 0.523 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.1502, allocations: 11.98 kB / 0.523 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.1503, allocations: 3.938 kB / 0.523 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1503, allocations: 7.984 kB / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1504, allocations: 4 kB / 0.523 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.1505, allocations: 139.9 kB / 0.5231 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1505, allocations: 0 / 0.5231 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1507, allocations: 20 kB / 0.5231 GB, free: 0.625 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002151/0.1529, allocations: 1.094 MB / 0.5242 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1531, allocations: 59.91 kB / 0.5243 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1531, allocations: 3.938 kB / 0.5243 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.1531, allocations: 20 kB / 0.5243 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1535, allocations: 32.03 kB / 0.5243 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1553, allocations: 1.604 MB / 0.5259 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1556, allocations: 0.7079 MB / 0.5266 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.95e-05/0.1557, allocations: 13.28 kB / 0.5266 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.1558, allocations: 31.42 kB / 0.5266 GB, free: 12.97 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1558, allocations: 0 / 0.5266 GB, free: 12.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.178, allocations: 3.524 MB / 0.5301 GB, free: 9.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.41, allocations: 1 kB / 0.5301 GB, free: 9.352 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.032378594973125] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.617954467015807 11.937163165 11.78860879 Calling exit ...