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.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.001412/0.001412, 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.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 7.758 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.2393/0.2393, allocations: 46.96 MB / 361.7 MB, free: 4.129 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.001934/0.001934, allocations: 63.91 kB / 0.4969 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3977, allocations: 66.03 MB / 0.5614 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003754/0.4014, allocations: 2.03 MB / 0.5633 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.4038, allocations: 1.338 MB / 0.5647 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.4039, allocations: 4 kB / 0.5647 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.4042, allocations: 63.44 kB / 0.5647 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.4047, allocations: 223.1 kB / 0.5649 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.4061, allocations: 0.6265 MB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004651/0.4066, allocations: 358.9 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.4068, allocations: 56.89 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.407, allocations: 155.3 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.4073, allocations: 223.1 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.4073, allocations: 16 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.4075, allocations: 67.98 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.4077, allocations: 155.4 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.4078, allocations: 138.9 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.4083, allocations: 451.9 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4083, allocations: 0 / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4083, allocations: 0 / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.4084, allocations: 0 / 0.5671 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.001112/0.4095, allocations: 0.7911 MB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.4095, allocations: 8.031 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.431e-05/0.4095, allocations: 8.188 kB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.4096, allocations: 38.75 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004527/0.41, allocations: 100.5 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/0.4107, allocations: 439.1 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.4107, allocations: 12.12 kB / 0.5684 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.4108, allocations: 12 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.4111, allocations: 164.9 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.4111, allocations: 7.938 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.4112, allocations: 4 kB / 0.5686 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.4112, allocations: 7.938 kB / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.4115, allocations: 111.9 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.4125, allocations: 0.6636 MB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.4128, allocations: 133.2 kB / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.413, allocations: 69.73 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.413, allocations: 0 / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.4131, allocations: 46.5 kB / 0.5696 GB, free: 11.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.4131, allocations: 0 / 0.5696 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002102/0.4152, allocations: 0.7646 MB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.4152, allocations: 85.09 kB / 0.5705 GB, free: 10.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.4163, allocations: 0.9299 MB / 0.5714 GB, free: 9.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.4163, allocations: 29.7 kB / 0.5714 GB, free: 9.766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.4166, allocations: 276.4 kB / 0.5717 GB, free: 9.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/0.4167, allocations: 79.36 kB / 0.5717 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/0.4167, allocations: 37.7 kB / 0.5718 GB, free: 9.367 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4169, allocations: 317.9 kB / 0.5721 GB, free: 9.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.4172, allocations: 115.9 kB / 0.5722 GB, free: 8.938 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.4175, allocations: 129.6 kB / 0.5723 GB, free: 8.805 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.4181, allocations: 246 kB / 0.5725 GB, free: 8.559 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4181, allocations: 0 / 0.5725 GB, free: 8.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007437/0.4188, allocations: 352.8 kB / 0.5729 GB, free: 8.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.4189, allocations: 4 kB / 0.5729 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4189, allocations: 4 kB / 0.5729 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4189, allocations: 0 / 0.5729 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.4192, allocations: 67.88 kB / 0.5729 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.4192, allocations: 0 / 0.5729 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.4194, allocations: 15.98 kB / 0.573 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.4194, allocations: 15.98 kB / 0.573 GB, free: 8.102 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.0002298/0.4196, allocations: 217.7 kB / 0.5732 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.4198, allocations: 59.58 kB / 0.5732 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009033/0.4207, allocations: 407.2 kB / 0.5736 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.4207, allocations: 7.984 kB / 0.5736 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.4207, allocations: 4 kB / 0.5736 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4207, allocations: 0 / 0.5736 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.4222, allocations: 0.899 MB / 0.5745 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4222, allocations: 0 / 0.5745 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.4225, allocations: 59.89 kB / 0.5746 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4225, allocations: 0 / 0.5746 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.4225, allocations: 11.92 kB / 0.5746 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4225, allocations: 0 / 0.5746 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4225, allocations: 4 kB / 0.5746 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008314/0.4234, allocations: 0.5121 MB / 0.5751 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.4235, allocations: 87.53 kB / 0.5752 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.4236, allocations: 7.938 kB / 0.5752 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.4238, allocations: 23.98 kB / 0.5752 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.4239, allocations: 23.95 kB / 0.5752 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.4239, allocations: 4 kB / 0.5752 GB, free: 5.707 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008006/0.4247, allocations: 0.6786 MB / 0.5759 GB, free: 5.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4247, allocations: 0 / 0.5759 GB, free: 5.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003911/0.4251, allocations: 67.98 kB / 0.576 GB, free: 4.969 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.002805/0.4279, allocations: 1.398 MB / 0.5773 GB, free: 3.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007054/0.4286, allocations: 247.7 kB / 0.5776 GB, free: 3.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4286, allocations: 8 kB / 0.5776 GB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.429, allocations: 127.8 kB / 0.5777 GB, free: 3.355 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/0.4297, allocations: 88.98 kB / 0.5778 GB, free: 3.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00824/0.4379, allocations: 5.506 MB / 0.5831 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.4382, allocations: 291 kB / 0.5834 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002796/0.4385, allocations: 107.2 kB / 0.5835 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/0.4388, allocations: 191.4 kB / 0.5837 GB, free: 13.07 MB / 430.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4388, allocations: 0 / 0.5837 GB, free: 13.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.4741, allocations: 11.19 MB / 0.5946 GB, free: 1.992 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.59, allocations: 12.05 kB / 0.5947 GB, free: 1.98 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.732469737064093] 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.818811818957329 12.834574535 12.423079827 Calling exit ...