Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001448/0.001448, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2321/0.2321, allocations: 46.11 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 78.81 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1232, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003176/0.1265, allocations: 1.716 MB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.129, allocations: 1.635 MB / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.277e-05/0.1291, allocations: 0 / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.1295, allocations: 35.77 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.1298, allocations: 103.5 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.1301, allocations: 79.67 kB / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.1303, allocations: 111.6 kB / 483.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1304, allocations: 15.98 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.959e-05/0.1305, allocations: 47.77 kB / 484 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.1307, allocations: 47.77 kB / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1307, allocations: 4 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.1309, allocations: 103.9 kB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.131, allocations: 19.91 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.1311, allocations: 31.81 kB / 484.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1314, allocations: 175.8 kB / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1314, allocations: 0 / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1314, allocations: 0 / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1314, allocations: 4 kB / 484.3 MB, free: 1 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.0006576/0.1321, allocations: 423 kB / 484.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1321, allocations: 8.031 kB / 484.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.1322, allocations: 34.75 kB / 484.8 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.1322, allocations: 12.84 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1325, allocations: 215.4 kB / 485 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1325, allocations: 4 kB / 485 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1326, allocations: 7.984 kB / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1327, allocations: 71.33 kB / 485.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1328, allocations: 0 / 485.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1328, allocations: 0 / 485.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1328, allocations: 4 kB / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.1329, allocations: 15.98 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.1333, allocations: 288.9 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1335, allocations: 58.61 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.1335, allocations: 24.84 kB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1336, allocations: 0 / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.1338, allocations: 63.39 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1338, allocations: 0 / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005499/0.1344, allocations: 181.1 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.1344, allocations: 89.03 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1346, allocations: 161.5 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1347, allocations: 29.7 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.1347, allocations: 92.14 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1348, allocations: 27.64 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.1348, allocations: 29.66 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.135, allocations: 322.8 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.135, allocations: 19.98 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.1351, allocations: 54.44 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1352, allocations: 53.7 kB / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1353, allocations: 4 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002016/0.1355, allocations: 97.53 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1355, allocations: 8.062 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1355, allocations: 384 / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1355, allocations: 4 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.1356, allocations: 19.92 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1356, allocations: 0 / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.1357, allocations: 8 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1357, allocations: 4 kB / 486.7 MB, free: 14.36 MB / 366.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.0001131/0.1358, allocations: 125.8 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.1359, allocations: 11.81 kB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.1359, allocations: 16.72 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1359, allocations: 7.938 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1359, allocations: 0 / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1359, allocations: 0 / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.1364, allocations: 391.3 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1364, allocations: 7.922 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.1365, allocations: 11.98 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1365, allocations: 4 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.1365, allocations: 4.031 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1365, allocations: 0 / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1365, allocations: 0 / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1368, allocations: 204.2 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.1368, allocations: 92.94 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.1369, allocations: 8 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-05/0.137, allocations: 4 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.137, allocations: 7.984 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.137, allocations: 4 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1372, allocations: 123.2 kB / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1372, allocations: 0 / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.1375, allocations: 55.92 kB / 487.8 MB, free: 13.19 MB / 366.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.002378/0.1399, allocations: 1.179 MB / 489 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.1401, allocations: 71.88 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1401, allocations: 8 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.1402, allocations: 24 kB / 489.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1406, allocations: 38.06 kB / 489.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.1426, allocations: 1.569 MB / 490.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.1429, allocations: 0.7012 MB / 491.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.291e-05/0.143, allocations: 12.88 kB / 491.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.1431, allocations: 43.42 kB / 491.4 MB, free: 9.602 MB / 366.1 MB Notification: Performance of SimCode: time 2.675e-06/0.1431, allocations: 0 / 491.4 MB, free: 9.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.1697, allocations: 3.947 MB / 495.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.238, allocations: 18.86 kB / 495.4 MB, free: 5.727 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)