Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001743/0.001743, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002276/0.002276, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2851/0.2851, allocations: 44.92 MB / 359.6 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 179] 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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.00199/0.00199, allocations: 71.89 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 65.47 MB / 0.5579 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003171/0.3412, allocations: 1.729 MB / 0.5596 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.343, allocations: 1.057 MB / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.274e-05/0.343, allocations: 0 / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.3433, allocations: 43.7 kB / 0.5606 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.3436, allocations: 91.61 kB / 0.5607 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.3438, allocations: 83.66 kB / 0.5608 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.344, allocations: 111.7 kB / 0.5609 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.3441, allocations: 9.766 kB / 0.5609 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.3442, allocations: 55.7 kB / 0.561 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.069e-05/0.3443, allocations: 27.86 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.3443, allocations: 4 kB / 0.561 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.13e-05/0.3444, allocations: 39.98 kB / 0.561 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.3444, allocations: 27.84 kB / 0.5611 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.3445, allocations: 39.73 kB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.3447, allocations: 123.4 kB / 0.5612 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3447, allocations: 0 / 0.5612 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3447, allocations: 4 kB / 0.5612 GB, free: 4.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3447, allocations: 0 / 0.5612 GB, free: 4.297 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.0005142/0.3452, allocations: 349.5 kB / 0.5616 GB, free: 3.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3453, allocations: 8.031 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.556e-05/0.3453, allocations: 4.188 kB / 0.5616 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.3453, allocations: 34.75 kB / 0.5616 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.3454, allocations: 8.891 kB / 0.5616 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.3456, allocations: 162.2 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3456, allocations: 20.11 kB / 0.5618 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.3457, allocations: 0 / 0.5618 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.3458, allocations: 57.67 kB / 0.5618 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3458, allocations: 4 kB / 0.5618 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.3458, allocations: 0 / 0.5618 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3458, allocations: 0 / 0.5618 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.6e-05/0.3459, allocations: 19.98 kB / 0.5619 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.3463, allocations: 259.9 kB / 0.5621 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3464, allocations: 62.67 kB / 0.5622 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.3465, allocations: 16.86 kB / 0.5622 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.3465, allocations: 0 / 0.5622 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.3467, allocations: 63.39 kB / 0.5622 GB, free: 3.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3467, allocations: 4 kB / 0.5622 GB, free: 3.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005248/0.3472, allocations: 185.3 kB / 0.5624 GB, free: 2.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.3472, allocations: 55.41 kB / 0.5625 GB, free: 2.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.3475, allocations: 226.6 kB / 0.5627 GB, free: 2.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3475, allocations: 29.7 kB / 0.5627 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.3475, allocations: 96.14 kB / 0.5628 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.3476, allocations: 27.78 kB / 0.5628 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.3476, allocations: 25.72 kB / 0.5629 GB, free: 2.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3478, allocations: 330.8 kB / 0.5632 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.3478, allocations: 20 kB / 0.5632 GB, free: 2.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/0.3479, allocations: 37.64 kB / 0.5632 GB, free: 2.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.348, allocations: 53.7 kB / 0.5633 GB, free: 1.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.348, allocations: 0 / 0.5633 GB, free: 1.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001887/0.3482, allocations: 109.6 kB / 0.5634 GB, free: 1.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3482, allocations: 8 kB / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3482, allocations: 4 kB / 0.5634 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3482, allocations: 3.984 kB / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.3483, allocations: 15.94 kB / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3483, allocations: 3.938 kB / 0.5634 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.3484, allocations: 4 kB / 0.5634 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3484, allocations: 8 kB / 0.5634 GB, free: 1.816 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.0001031/0.3485, allocations: 125.8 kB / 0.5636 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.3485, allocations: 19.91 kB / 0.5636 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.3488, allocations: 123 kB / 0.5637 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3488, allocations: 384 / 0.5637 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3488, allocations: 3.938 kB / 0.5637 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3488, allocations: 0 / 0.5637 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.3492, allocations: 374.4 kB / 0.564 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3492, allocations: 0 / 0.564 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.3493, allocations: 8 kB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.3493, allocations: 7.969 kB / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3493, allocations: 0 / 0.5641 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3493, allocations: 4 kB / 0.5641 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3493, allocations: 0 / 0.5641 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.3495, allocations: 204.3 kB / 0.5643 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.3495, allocations: 11.89 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3496, allocations: 4 kB / 0.5643 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.3496, allocations: 8 kB / 0.5643 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.3497, allocations: 11.92 kB / 0.5643 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3497, allocations: 0 / 0.5643 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.3498, allocations: 160.3 kB / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3498, allocations: 0 / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3501, allocations: 27.92 kB / 0.5645 GB, free: 0.6523 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.002147/0.3522, allocations: 1.096 MB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.3524, allocations: 59.91 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3524, allocations: 0 / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.3525, allocations: 23.94 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.3529, allocations: 35.12 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.3549, allocations: 1.69 MB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.3552, allocations: 0.708 MB / 0.568 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.201e-05/0.3553, allocations: 16.89 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.3553, allocations: 39.42 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3553, allocations: 0 / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.3788, allocations: 3.725 MB / 0.5717 GB, free: 9.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.41, allocations: 2.75 kB / 0.5717 GB, free: 9.383 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.635737347009126] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.635559971968178 11.666154314 11.316080743 Calling exit ...