Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.001954/0.001954, allocations: 109 kB / 19.74 MB, free: 2.586 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.00212/0.00212, allocations: 218.2 kB / 22.92 MB, free: 5.559 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.3/1.3, allocations: 230.2 MB / 256.1 MB, free: 8.602 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.2041/0.2041, allocations: 46.88 MB / 359.3 MB, free: 4.961 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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",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.002143/0.002143, allocations: 84.14 kB / 0.494 GB, free: 9.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2658, allocations: 65.99 MB / 0.5585 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003062/0.2688, allocations: 1.945 MB / 0.5604 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.2706, allocations: 1.084 MB / 0.5614 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.2707, allocations: 7.938 kB / 0.5615 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.2709, allocations: 43.7 kB / 0.5615 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.2712, allocations: 95.53 kB / 0.5616 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.2714, allocations: 95.66 kB / 0.5617 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.2717, allocations: 155.5 kB / 0.5618 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.2718, allocations: 19.39 kB / 0.5618 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2719, allocations: 63.66 kB / 0.5619 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.272, allocations: 55.69 kB / 0.562 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.272, allocations: 8 kB / 0.562 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.824e-05/0.2721, allocations: 47.98 kB / 0.562 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.2721, allocations: 19.92 kB / 0.562 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.2722, allocations: 59.59 kB / 0.5621 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.2725, allocations: 155.2 kB / 0.5622 GB, free: 1.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2725, allocations: 0 / 0.5622 GB, free: 1.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.342e-06/0.2725, allocations: 3.984 kB / 0.5622 GB, free: 1.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.2725, allocations: 4 kB / 0.5622 GB, free: 1.277 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.0006476/0.2731, allocations: 484.2 kB / 0.5627 GB, free: 0.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2732, allocations: 12.03 kB / 0.5627 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.2732, allocations: 30.75 kB / 0.5627 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.2732, allocations: 24.83 kB / 0.5628 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.2735, allocations: 241.6 kB / 0.563 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.2736, allocations: 384 / 0.563 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.2736, allocations: 19.94 kB / 0.563 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.2738, allocations: 107.4 kB / 0.5631 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.2738, allocations: 0 / 0.5631 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.2738, allocations: 4 kB / 0.5631 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2738, allocations: 4 kB / 0.5631 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.274, allocations: 43.97 kB / 0.5632 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.2746, allocations: 0.5049 MB / 0.5637 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.2749, allocations: 86.59 kB / 0.5637 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.034e-05/0.275, allocations: 40.78 kB / 0.5638 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.275, allocations: 4 kB / 0.5638 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.2752, allocations: 83.36 kB / 0.5639 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2752, allocations: 0 / 0.5639 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003859/0.2756, allocations: 145.7 kB / 0.564 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.2756, allocations: 55.41 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.2758, allocations: 203.1 kB / 0.5643 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.2758, allocations: 29.8 kB / 0.5643 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.2759, allocations: 116 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.2759, allocations: 35.73 kB / 0.5644 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.276, allocations: 29.7 kB / 0.5645 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2761, allocations: 322.8 kB / 0.5648 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.07e-05/0.2762, allocations: 31.98 kB / 0.5648 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.2763, allocations: 71.83 kB / 0.5649 GB, free: 14.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.2765, allocations: 96.22 kB / 0.565 GB, free: 14.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2765, allocations: 3.984 kB / 0.565 GB, free: 14.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002707/0.2768, allocations: 133.5 kB / 0.5651 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2768, allocations: 4 kB / 0.5651 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2768, allocations: 4 kB / 0.5651 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2768, allocations: 7.922 kB / 0.5651 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/0.2769, allocations: 24.06 kB / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2769, allocations: 4 kB / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/0.277, allocations: 11.94 kB / 0.5651 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.277, allocations: 4 kB / 0.5651 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.0001367/0.2771, allocations: 132.3 kB / 0.5653 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.2772, allocations: 15.89 kB / 0.5653 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.2774, allocations: 131 kB / 0.5654 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2775, allocations: 3.938 kB / 0.5654 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2775, allocations: 4.188 kB / 0.5654 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2775, allocations: 4 kB / 0.5654 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.2777, allocations: 213.5 kB / 0.5656 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2777, allocations: 4 kB / 0.5656 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.159e-05/0.2777, allocations: 15.92 kB / 0.5656 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2777, allocations: 0 / 0.5656 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.2777, allocations: 4 kB / 0.5656 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.2778, allocations: 7.875 kB / 0.5657 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2778, allocations: 0 / 0.5657 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.2781, allocations: 184.9 kB / 0.5658 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.2782, allocations: 89.05 kB / 0.5659 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.2782, allocations: 7.984 kB / 0.5659 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.156e-05/0.2783, allocations: 7.938 kB / 0.5659 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.2783, allocations: 7.984 kB / 0.5659 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.2783, allocations: 4 kB / 0.5659 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.2785, allocations: 144.5 kB / 0.5661 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2785, allocations: 4 kB / 0.5661 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.2787, allocations: 27.94 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.001929/0.2806, allocations: 1.012 MB / 0.5671 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.2809, allocations: 83.83 kB / 0.5672 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2809, allocations: 0 / 0.5672 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.422e-05/0.2809, allocations: 31.92 kB / 0.5672 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.2812, allocations: 46.66 kB / 0.5673 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.2833, allocations: 1.762 MB / 0.569 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.2836, allocations: 0.7162 MB / 0.5697 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.534e-05/0.2837, allocations: 13.42 kB / 0.5697 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.383e-05/0.2838, allocations: 51.41 kB / 0.5697 GB, free: 9.191 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2838, allocations: 0 / 0.5697 GB, free: 9.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.308, allocations: 3.841 MB / 0.5735 GB, free: 5.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.256/7.564, allocations: 11.86 kB / 0.5735 GB, free: 5.371 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.14030923700193]