Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001286/0.001286, 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.001512/0.001512, allocations: 211.8 kB / 24.51 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2226/0.2226, allocations: 44.93 MB / 359.6 MB, free: 6.047 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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",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.001967/0.001967, allocations: 63.89 kB / 0.4939 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.333, allocations: 65.48 MB / 0.5578 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003288/0.3363, allocations: 1.709 MB / 0.5595 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.3381, allocations: 0.9637 MB / 0.5604 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.3382, allocations: 3.938 kB / 0.5604 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.3386, allocations: 39.83 kB / 0.5604 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.339, allocations: 99.53 kB / 0.5605 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3393, allocations: 79.67 kB / 0.5606 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.3395, allocations: 107.7 kB / 0.5607 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3396, allocations: 5.828 kB / 0.5607 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.165e-05/0.3397, allocations: 43.8 kB / 0.5608 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.845e-05/0.3398, allocations: 39.83 kB / 0.5608 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3398, allocations: 7.938 kB / 0.5608 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3399, allocations: 39.98 kB / 0.5609 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.34, allocations: 23.86 kB / 0.5609 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.34, allocations: 23.86 kB / 0.5609 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.3403, allocations: 119.5 kB / 0.561 GB, free: 4.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3403, allocations: 4 kB / 0.561 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3403, allocations: 0 / 0.561 GB, free: 4.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3403, allocations: 3.938 kB / 0.561 GB, free: 4.199 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.0006698/0.341, allocations: 345.5 kB / 0.5613 GB, free: 3.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.341, allocations: 12.03 kB / 0.5614 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.224e-05/0.3411, allocations: 4.188 kB / 0.5614 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.278e-05/0.3411, allocations: 30.75 kB / 0.5614 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.3412, allocations: 12.84 kB / 0.5614 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.3415, allocations: 146.3 kB / 0.5615 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.3415, allocations: 12.11 kB / 0.5616 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.3416, allocations: 4 kB / 0.5616 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.3418, allocations: 53.67 kB / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.3418, allocations: 0 / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.3418, allocations: 4 kB / 0.5616 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3418, allocations: 4 kB / 0.5616 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.3419, allocations: 23.92 kB / 0.5616 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.3424, allocations: 256 kB / 0.5619 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.3426, allocations: 54.67 kB / 0.5619 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.525e-05/0.3426, allocations: 24.84 kB / 0.562 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3427, allocations: 0 / 0.562 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.3429, allocations: 75.33 kB / 0.562 GB, free: 3.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3429, allocations: 0 / 0.562 GB, free: 3.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006116/0.3435, allocations: 185.3 kB / 0.5622 GB, free: 2.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.3435, allocations: 59.41 kB / 0.5623 GB, free: 2.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.3437, allocations: 187.2 kB / 0.5624 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3437, allocations: 25.7 kB / 0.5625 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.3438, allocations: 108.1 kB / 0.5626 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.3439, allocations: 23.8 kB / 0.5626 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.3439, allocations: 21.7 kB / 0.5626 GB, free: 2.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3441, allocations: 322.8 kB / 0.5629 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.3441, allocations: 20 kB / 0.5629 GB, free: 2.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.3442, allocations: 41.7 kB / 0.563 GB, free: 1.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3443, allocations: 65.62 kB / 0.563 GB, free: 1.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3443, allocations: 4 kB / 0.563 GB, free: 1.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002033/0.3445, allocations: 97.58 kB / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3446, allocations: 11.94 kB / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3446, allocations: 0 / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3446, allocations: 0 / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3447, allocations: 19.98 kB / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3447, allocations: 8.125 kB / 0.5632 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.3447, allocations: 7.969 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3448, allocations: 8.094 kB / 0.5632 GB, free: 1.758 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.0001309/0.3449, allocations: 132.6 kB / 0.5633 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.3449, allocations: 7.953 kB / 0.5633 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.3452, allocations: 130.9 kB / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3452, allocations: 0 / 0.5635 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3452, allocations: 3.938 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3452, allocations: 0 / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.3457, allocations: 366.4 kB / 0.5638 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3457, allocations: 4.031 kB / 0.5638 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.3458, allocations: 11.94 kB / 0.5638 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3458, allocations: 3.938 kB / 0.5638 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.3458, allocations: 11.98 kB / 0.5638 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3458, allocations: 0 / 0.5638 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3458, allocations: 384 / 0.5638 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.3461, allocations: 212.2 kB / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.3462, allocations: 11.89 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.3462, allocations: 7.984 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.3463, allocations: 8 kB / 0.5641 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.3463, allocations: 11.98 kB / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.3463, allocations: 4 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.3465, allocations: 141.8 kB / 0.5642 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3465, allocations: 0 / 0.5642 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.3467, allocations: 27.92 kB / 0.5642 GB, free: 0.5898 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 (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.002339/0.3491, allocations: 1.139 MB / 0.5654 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.3493, allocations: 55.92 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3493, allocations: 0 / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.3494, allocations: 31.92 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.3498, allocations: 27.97 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.3519, allocations: 1.662 MB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.352, allocations: 92.12 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.814e-05/0.3521, allocations: 12.97 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/0.3521, allocations: 35.42 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3521, allocations: 0 / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.3764, allocations: 3.764 MB / 0.5709 GB, free: 9.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.97, allocations: 6.469 kB / 0.5709 GB, free: 9.926 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.949797225999646] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.195504253031686 12.223851887 11.878327316 Calling exit ...