Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 106.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001608/0.001608, allocations: 222.3 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 230.2 MB / 256.2 MB, free: 8.738 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1959/0.1959, allocations: 46.88 MB / 359.3 MB, free: 4.957 MB / 286.1 MB " [Timeout remaining time 180] 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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.00208/0.00208, allocations: 83.88 kB / 0.494 GB, free: 9.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2586, allocations: 65.97 MB / 0.5585 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00305/0.2616, allocations: 1.963 MB / 0.5604 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.2632, allocations: 1.084 MB / 0.5614 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.2633, allocations: 3.938 kB / 0.5615 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.2635, allocations: 47.7 kB / 0.5615 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.2638, allocations: 99.53 kB / 0.5616 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.264, allocations: 91.64 kB / 0.5617 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.2642, allocations: 155.5 kB / 0.5618 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2643, allocations: 23.38 kB / 0.5618 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.2644, allocations: 63.64 kB / 0.5619 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.805e-05/0.2645, allocations: 51.72 kB / 0.562 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.2646, allocations: 4 kB / 0.562 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.2646, allocations: 47.98 kB / 0.562 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.2647, allocations: 27.91 kB / 0.562 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.2648, allocations: 51.61 kB / 0.5621 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.265, allocations: 163.2 kB / 0.5622 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.265, allocations: 0 / 0.5622 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.265, allocations: 4 kB / 0.5622 GB, free: 1.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.265, allocations: 0 / 0.5622 GB, free: 1.285 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006063/0.2656, allocations: 484.2 kB / 0.5627 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2657, allocations: 8.031 kB / 0.5627 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.2657, allocations: 42.73 kB / 0.5628 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.2657, allocations: 12.84 kB / 0.5628 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.266, allocations: 241.6 kB / 0.563 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.266, allocations: 12.38 kB / 0.563 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.266, allocations: 11.94 kB / 0.563 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.2663, allocations: 108.2 kB / 0.5631 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.2663, allocations: 0 / 0.5631 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2663, allocations: 0 / 0.5631 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2663, allocations: 0 / 0.5631 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.2664, allocations: 55.41 kB / 0.5632 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.267, allocations: 0.5049 MB / 0.5637 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.2672, allocations: 78.67 kB / 0.5637 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.2673, allocations: 44.77 kB / 0.5638 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.2674, allocations: 3.938 kB / 0.5638 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.2675, allocations: 83.31 kB / 0.5639 GB, free: 15.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.996e-06/0.2675, allocations: 7.984 kB / 0.5639 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003688/0.2679, allocations: 149.4 kB / 0.564 GB, free: 15.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.2679, allocations: 51.41 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.2681, allocations: 207.1 kB / 0.5643 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.2681, allocations: 29.7 kB / 0.5643 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.2682, allocations: 112.1 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.2683, allocations: 31.73 kB / 0.5644 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.2683, allocations: 33.7 kB / 0.5645 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2684, allocations: 326.8 kB / 0.5648 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.2685, allocations: 31.98 kB / 0.5648 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.2686, allocations: 64.2 kB / 0.5649 GB, free: 14.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.2688, allocations: 96.2 kB / 0.565 GB, free: 14.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2688, allocations: 0 / 0.565 GB, free: 14.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002604/0.2691, allocations: 141.8 kB / 0.5651 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2691, allocations: 8 kB / 0.5651 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2691, allocations: 0 / 0.5651 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2691, allocations: 7.938 kB / 0.5651 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.2692, allocations: 24.11 kB / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2692, allocations: 7.938 kB / 0.5651 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.2692, allocations: 11.95 kB / 0.5652 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.2693, allocations: 4 kB / 0.5652 GB, free: 14.02 MB / 414.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.2694, allocations: 129.8 kB / 0.5653 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.2694, allocations: 15.91 kB / 0.5653 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.2696, allocations: 123 kB / 0.5654 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2697, allocations: 11.94 kB / 0.5654 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2697, allocations: 0 / 0.5654 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.2697, allocations: 0 / 0.5654 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.2698, allocations: 205.6 kB / 0.5656 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2698, allocations: 0 / 0.5656 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.2699, allocations: 15.98 kB / 0.5656 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2699, allocations: 0 / 0.5656 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.2699, allocations: 3.938 kB / 0.5656 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2699, allocations: 3.938 kB / 0.5656 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.2699, allocations: 8 kB / 0.5656 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.2703, allocations: 192.8 kB / 0.5658 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.2703, allocations: 89.05 kB / 0.5659 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.2704, allocations: 0 / 0.5659 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.047e-05/0.2704, allocations: 7.938 kB / 0.5659 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.2704, allocations: 11.98 kB / 0.5659 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.2705, allocations: 288 / 0.5659 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.2706, allocations: 148.5 kB / 0.5661 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2706, allocations: 0 / 0.5661 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.2708, allocations: 39.86 kB / 0.5661 GB, free: 12.93 MB / 414.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.nextTimeEvent,t_new.nextTimeEventScaled) * 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 (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.001821/0.2726, allocations: 1.001 MB / 0.5671 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.2728, allocations: 83.83 kB / 0.5672 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2728, allocations: 0 / 0.5672 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.2729, allocations: 31.98 kB / 0.5672 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.2732, allocations: 43.66 kB / 0.5672 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.2751, allocations: 1.768 MB / 0.569 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.2754, allocations: 0.7201 MB / 0.5697 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.2754, allocations: 25.39 kB / 0.5697 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.2755, allocations: 39.42 kB / 0.5697 GB, free: 9.195 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2755, allocations: 0 / 0.5697 GB, free: 9.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.3001, allocations: 3.833 MB / 0.5735 GB, free: 5.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.494, allocations: 8.953 kB / 0.5735 GB, free: 5.383 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.021169583007577]