Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001878/0.001878, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00226/0.00226, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.559/1.559, 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.227/0.227, allocations: 44.93 MB / 359.6 MB, free: 6.148 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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",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.00243/0.00243, allocations: 69.28 kB / 0.4939 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3797, allocations: 65.46 MB / 0.5578 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003406/0.3831, allocations: 1.666 MB / 0.5594 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.385, allocations: 0.9482 MB / 0.5603 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.385, allocations: 7.875 kB / 0.5603 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.3854, allocations: 51.8 kB / 0.5604 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.3857, allocations: 99.55 kB / 0.5605 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.3859, allocations: 79.72 kB / 0.5606 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.3861, allocations: 99.69 kB / 0.5607 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.274e-05/0.3862, allocations: 8.219 kB / 0.5607 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.051e-05/0.3863, allocations: 47.78 kB / 0.5607 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3864, allocations: 43.77 kB / 0.5608 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3864, allocations: 8 kB / 0.5608 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.3865, allocations: 31.98 kB / 0.5608 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.542e-05/0.3866, allocations: 27.8 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.3866, allocations: 19.88 kB / 0.5608 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.3868, allocations: 105.5 kB / 0.5609 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3868, allocations: 0 / 0.5609 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3868, allocations: 0 / 0.5609 GB, free: 4.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3869, allocations: 3.984 kB / 0.5609 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006566/0.3875, allocations: 335.6 kB / 0.5613 GB, free: 3.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3876, allocations: 12.03 kB / 0.5613 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.347e-05/0.3876, allocations: 4.188 kB / 0.5613 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.3876, allocations: 34.75 kB / 0.5613 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.3877, allocations: 8.891 kB / 0.5613 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.388, allocations: 154.2 kB / 0.5615 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.388, allocations: 4.125 kB / 0.5615 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.388, allocations: 7.984 kB / 0.5615 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3882, allocations: 49.67 kB / 0.5615 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3882, allocations: 0 / 0.5615 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3882, allocations: 3.984 kB / 0.5615 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3882, allocations: 4 kB / 0.5615 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.3883, allocations: 15.98 kB / 0.5615 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.3885, allocations: 160.7 kB / 0.5617 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.3887, allocations: 54.5 kB / 0.5618 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.3887, allocations: 20.84 kB / 0.5618 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.3887, allocations: 0 / 0.5618 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.3889, allocations: 63.39 kB / 0.5618 GB, free: 3.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3889, allocations: 0 / 0.5618 GB, free: 3.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003236/0.3892, allocations: 101.5 kB / 0.5619 GB, free: 3.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.3893, allocations: 55.41 kB / 0.562 GB, free: 3.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3895, allocations: 191.2 kB / 0.5622 GB, free: 2.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3895, allocations: 25.7 kB / 0.5622 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.3896, allocations: 100.1 kB / 0.5623 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.3896, allocations: 11.94 kB / 0.5623 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.3897, allocations: 17.72 kB / 0.5623 GB, free: 2.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.3899, allocations: 326.8 kB / 0.5626 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.636e-05/0.3899, allocations: 15.98 kB / 0.5626 GB, free: 2.367 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.732e-05/0.39, allocations: 25.72 kB / 0.5627 GB, free: 2.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.3901, allocations: 53.58 kB / 0.5627 GB, free: 2.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3901, allocations: 4 kB / 0.5627 GB, free: 2.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001781/0.3903, allocations: 85.52 kB / 0.5628 GB, free: 2.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3903, allocations: 8 kB / 0.5628 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3903, allocations: 0 / 0.5628 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3903, allocations: 0 / 0.5628 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.3904, allocations: 15.94 kB / 0.5628 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3904, allocations: 7.938 kB / 0.5628 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.3904, allocations: 3.984 kB / 0.5628 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3905, allocations: 4 kB / 0.5628 GB, free: 2.145 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.0001189/0.3906, allocations: 125.8 kB / 0.563 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.3906, allocations: 7.953 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.3908, allocations: 103 kB / 0.5631 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3908, allocations: 3.938 kB / 0.5631 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.3909, allocations: 4.062 kB / 0.5631 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3909, allocations: 0 / 0.5631 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.391, allocations: 164.6 kB / 0.5632 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.391, allocations: 0 / 0.5632 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.3911, allocations: 8 kB / 0.5632 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3911, allocations: 0 / 0.5632 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.3911, allocations: 4 kB / 0.5632 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3911, allocations: 0 / 0.5632 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3911, allocations: 0 / 0.5632 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.3913, allocations: 121 kB / 0.5634 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.3913, allocations: 11.91 kB / 0.5634 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.3913, allocations: 3.984 kB / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.3914, allocations: 4 kB / 0.5634 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.3914, allocations: 4 kB / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3914, allocations: 4 kB / 0.5634 GB, free: 1.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.3916, allocations: 145.8 kB / 0.5635 GB, free: 1.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3916, allocations: 0 / 0.5635 GB, free: 1.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.3918, allocations: 20 kB / 0.5635 GB, free: 1.34 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.002074/0.3939, allocations: 0.9941 MB / 0.5645 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.394, allocations: 39.92 kB / 0.5646 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.394, allocations: 0 / 0.5646 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.3941, allocations: 19.98 kB / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.3944, allocations: 32.36 kB / 0.5646 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.3964, allocations: 1.493 MB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3965, allocations: 89.31 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.254e-05/0.3966, allocations: 12.48 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.3966, allocations: 31.42 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3966, allocations: 0 / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.4215, allocations: 3.456 MB / 0.5696 GB, free: 11.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.76, allocations: 13.92 kB / 0.5696 GB, free: 11.3 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.001535137067549] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.98499564093072 12.010083804 11.618314081 Calling exit ...