Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001299/0.001299, 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.002162/0.002162, 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2432/0.2432, allocations: 46.94 MB / 361.7 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 71.89 kB / 0.4969 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3554, allocations: 66.03 MB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.005175/0.3606, allocations: 2.137 MB / 0.5635 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003692/0.3643, allocations: 1.416 MB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.3645, allocations: 11.94 kB / 0.5649 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.3648, allocations: 55.5 kB / 0.565 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008015/0.3656, allocations: 223 kB / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.3678, allocations: 0.6186 MB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007317/0.3685, allocations: 374.8 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.3688, allocations: 48.91 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.3692, allocations: 155.4 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004681/0.3697, allocations: 219.1 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.358e-05/0.3697, allocations: 16 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.37, allocations: 63.98 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.3702, allocations: 163.4 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.3705, allocations: 190.5 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007367/0.3712, allocations: 439.9 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3712, allocations: 3.984 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3712, allocations: 0 / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.3712, allocations: 4 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001586/0.3728, allocations: 0.7833 MB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3729, allocations: 16.03 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.955e-05/0.3729, allocations: 192 / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.334e-05/0.3729, allocations: 42.73 kB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006124/0.3735, allocations: 96.48 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.3746, allocations: 439.2 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.3746, allocations: 12.12 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.3747, allocations: 16 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.3751, allocations: 164.9 kB / 0.5689 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3751, allocations: 0 / 0.5689 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.3752, allocations: 8 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3752, allocations: 4 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/0.3756, allocations: 119.8 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.3771, allocations: 0.7025 MB / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.3776, allocations: 121.2 kB / 0.5698 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.3778, allocations: 65.8 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.3778, allocations: 4 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.3779, allocations: 42.44 kB / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 6.081e-06/0.3779, allocations: 3.984 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.003108/0.381, allocations: 0.7685 MB / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.381, allocations: 81.11 kB / 0.5708 GB, free: 10.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.3827, allocations: 0.9339 MB / 0.5717 GB, free: 9.773 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.3827, allocations: 25.89 kB / 0.5717 GB, free: 9.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.383, allocations: 288.3 kB / 0.572 GB, free: 9.453 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.3831, allocations: 71.33 kB / 0.572 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.3832, allocations: 41.69 kB / 0.5721 GB, free: 9.336 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3834, allocations: 317.9 kB / 0.5724 GB, free: 9.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.3838, allocations: 111.9 kB / 0.5725 GB, free: 8.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.3842, allocations: 125.6 kB / 0.5726 GB, free: 8.781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000868/0.3851, allocations: 253.5 kB / 0.5729 GB, free: 8.527 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3851, allocations: 0 / 0.5729 GB, free: 8.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001137/0.3862, allocations: 345 kB / 0.5732 GB, free: 8.184 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.3863, allocations: 4 kB / 0.5732 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3863, allocations: 0 / 0.5732 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.3863, allocations: 4.406 kB / 0.5732 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.3867, allocations: 55.88 kB / 0.5732 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3867, allocations: 7.875 kB / 0.5733 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.387, allocations: 27.98 kB / 0.5733 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.387, allocations: 7.984 kB / 0.5733 GB, free: 8.078 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0003504/0.3874, allocations: 225.6 kB / 0.5735 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.3876, allocations: 63.58 kB / 0.5736 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.3889, allocations: 403.3 kB / 0.5739 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3889, allocations: 0 / 0.5739 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.3889, allocations: 4 kB / 0.574 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3889, allocations: 0 / 0.574 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.3912, allocations: 0.9376 MB / 0.5749 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.3912, allocations: 4 kB / 0.5749 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.3916, allocations: 47.95 kB / 0.5749 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.3916, allocations: 0 / 0.5749 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.3916, allocations: 11.94 kB / 0.5749 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3916, allocations: 0 / 0.5749 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.3916, allocations: 7.984 kB / 0.5749 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.3929, allocations: 0.5124 MB / 0.5754 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.3931, allocations: 79.55 kB / 0.5755 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.519e-05/0.3932, allocations: 19.88 kB / 0.5755 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.3936, allocations: 23.97 kB / 0.5756 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3937, allocations: 15.97 kB / 0.5756 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.3937, allocations: 11.98 kB / 0.5756 GB, free: 5.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001251/0.395, allocations: 0.6786 MB / 0.5762 GB, free: 4.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.395, allocations: 0 / 0.5762 GB, free: 4.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006118/0.3956, allocations: 60 kB / 0.5763 GB, free: 4.914 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.003435/0.399, allocations: 1.368 MB / 0.5776 GB, free: 3.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.4001, allocations: 255.7 kB / 0.5779 GB, free: 3.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4001, allocations: 0 / 0.5779 GB, free: 3.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.4006, allocations: 135.8 kB / 0.578 GB, free: 3.293 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.4016, allocations: 90.12 kB / 0.5781 GB, free: 3.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.4135, allocations: 5.502 MB / 0.5835 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/0.4142, allocations: 0.8967 MB / 0.5843 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.4146, allocations: 111.9 kB / 0.5845 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.415, allocations: 195.3 kB / 0.5846 GB, free: 12.38 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.415, allocations: 0 / 0.5846 GB, free: 12.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04398/0.459, allocations: 11.01 MB / 0.5954 GB, free: 1.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.37, allocations: 8.047 kB / 0.5954 GB, free: 1.461 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.519732334010769] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D_1R.y[1]', 'der_1R.y', 'combiTable2D_2R.y[1]', 'der_2R.y', 'cosine_R.y', 'sine_R.y', 'combiTable2D_1L.y[1]', 'der_1L.y', 'combiTable2D_2L.y[1]', 'der_2L.y', 'cosine_L.y', 'sine_L.y'] 12.591207905963529 12.608758642 12.234225869 Calling exit ...