Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.0018/0.0018, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002388/0.002388, allocations: 212.9 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2165/0.2165, allocations: 44.92 MB / 359.6 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001984/0.001984, allocations: 63.91 kB / 0.4939 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3323, allocations: 65.48 MB / 0.5578 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.00311/0.3354, allocations: 1.677 MB / 0.5594 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.3372, allocations: 0.9482 MB / 0.5604 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.3373, allocations: 3.938 kB / 0.5604 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.3376, allocations: 51.81 kB / 0.5604 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.3379, allocations: 99.55 kB / 0.5605 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.3381, allocations: 75.72 kB / 0.5606 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.3382, allocations: 99.64 kB / 0.5607 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.3383, allocations: 8.234 kB / 0.5607 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.055e-05/0.3384, allocations: 47.77 kB / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.869e-05/0.3384, allocations: 27.86 kB / 0.5608 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.3385, allocations: 0 / 0.5608 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-05/0.3385, allocations: 35.98 kB / 0.5608 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.3386, allocations: 27.84 kB / 0.5608 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.3387, allocations: 31.75 kB / 0.5608 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3389, allocations: 129.2 kB / 0.561 GB, free: 4.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3389, allocations: 0 / 0.561 GB, free: 4.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3389, allocations: 0 / 0.561 GB, free: 4.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3389, allocations: 0 / 0.561 GB, free: 4.23 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005822/0.3395, allocations: 373.3 kB / 0.5613 GB, free: 3.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3395, allocations: 12.03 kB / 0.5613 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.443e-05/0.3395, allocations: 192 / 0.5613 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.3395, allocations: 30.75 kB / 0.5614 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.3396, allocations: 12.89 kB / 0.5614 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.3399, allocations: 159.2 kB / 0.5615 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.3399, allocations: 16.12 kB / 0.5615 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.3399, allocations: 3.984 kB / 0.5615 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.34, allocations: 49.67 kB / 0.5616 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.34, allocations: 0 / 0.5616 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.34, allocations: 0 / 0.5616 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.34, allocations: 0 / 0.5616 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.517e-05/0.3401, allocations: 15.98 kB / 0.5616 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.3403, allocations: 156.8 kB / 0.5618 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3405, allocations: 58.48 kB / 0.5618 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.62e-05/0.3406, allocations: 24.84 kB / 0.5618 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.3406, allocations: 4 kB / 0.5618 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.3407, allocations: 63.39 kB / 0.5619 GB, free: 3.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.3407, allocations: 3.938 kB / 0.5619 GB, free: 3.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002984/0.341, allocations: 109.5 kB / 0.562 GB, free: 3.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.3411, allocations: 51.41 kB / 0.5621 GB, free: 2.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.3414, allocations: 275.8 kB / 0.5623 GB, free: 2.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3414, allocations: 29.7 kB / 0.5624 GB, free: 2.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.3415, allocations: 112.1 kB / 0.5625 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.3415, allocations: 19.84 kB / 0.5625 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.3416, allocations: 25.7 kB / 0.5625 GB, free: 2.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3417, allocations: 326.8 kB / 0.5628 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-05/0.3418, allocations: 15.98 kB / 0.5628 GB, free: 2.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.3418, allocations: 25.72 kB / 0.5629 GB, free: 2.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.3419, allocations: 57.83 kB / 0.5629 GB, free: 2.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3419, allocations: 0 / 0.5629 GB, free: 2.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001752/0.3421, allocations: 85.58 kB / 0.563 GB, free: 1.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3421, allocations: 8.031 kB / 0.563 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3421, allocations: 0 / 0.563 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3422, allocations: 7.938 kB / 0.563 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.696e-05/0.3422, allocations: 15.94 kB / 0.563 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3422, allocations: 0 / 0.563 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.3423, allocations: 11.94 kB / 0.563 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.3423, allocations: 0 / 0.563 GB, free: 1.902 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 (7): * Single equations (assignments): 7 * 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.0001238/0.3424, allocations: 140.9 kB / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.3425, allocations: 15.91 kB / 0.5632 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.3427, allocations: 98.73 kB / 0.5633 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3427, allocations: 8 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3427, allocations: 0 / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3427, allocations: 0 / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.3429, allocations: 172.6 kB / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3429, allocations: 3.938 kB / 0.5635 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.3429, allocations: 4 kB / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3429, allocations: 0 / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3429, allocations: 0 / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3429, allocations: 0 / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3429, allocations: 4 kB / 0.5635 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.3431, allocations: 125 kB / 0.5636 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.3432, allocations: 20.08 kB / 0.5636 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.3432, allocations: 8 kB / 0.5636 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.3432, allocations: 0 / 0.5636 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.3433, allocations: 7.984 kB / 0.5636 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.3433, allocations: 0 / 0.5636 GB, free: 1.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.3435, allocations: 204.6 kB / 0.5638 GB, free: 1.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3435, allocations: 0 / 0.5638 GB, free: 1.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.3437, allocations: 31.86 kB / 0.5638 GB, free: 0.9961 MB / 398.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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.00198/0.3457, allocations: 0.9808 MB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.3459, allocations: 47.92 kB / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3459, allocations: 0 / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.3459, allocations: 19.98 kB / 0.5649 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.3462, allocations: 40.34 kB / 0.5649 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.3485, allocations: 1.69 MB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.3486, allocations: 109.8 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.039e-05/0.3487, allocations: 16.47 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.206e-05/0.3487, allocations: 43.42 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3487, allocations: 0 / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.3736, allocations: 3.835 MB / 0.5705 GB, free: 10.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.91, allocations: 7.344 kB / 0.5705 GB, free: 10.34 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.92418314598035] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 12.12420070997905 12.139172009 11.797343137 Calling exit ...