Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 108.6 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001514/0.001514, allocations: 215 kB / 22.99 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2316/0.2316, allocations: 46.88 MB / 359.4 MB, free: 4.902 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 87.84 kB / 0.4942 GB, free: 8.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3823, allocations: 65.98 MB / 0.5586 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003398/0.3857, allocations: 1.671 MB / 0.5602 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3869, allocations: 0.5615 MB / 0.5608 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.931e-05/0.387, allocations: 0 / 0.5608 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.3873, allocations: 99.69 kB / 0.5609 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.3877, allocations: 111.6 kB / 0.561 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.388, allocations: 91.69 kB / 0.5611 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.3882, allocations: 99.8 kB / 0.5612 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.3883, allocations: 21.81 kB / 0.5612 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.025e-05/0.3884, allocations: 51.77 kB / 0.5612 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.3885, allocations: 63.81 kB / 0.5613 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3886, allocations: 7.984 kB / 0.5613 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.3887, allocations: 43.98 kB / 0.5614 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.126e-05/0.3887, allocations: 31.86 kB / 0.5614 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.3888, allocations: 35.69 kB / 0.5614 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.389, allocations: 135.3 kB / 0.5615 GB, free: 2.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3891, allocations: 0 / 0.5615 GB, free: 2.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3891, allocations: 0 / 0.5615 GB, free: 2.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3891, allocations: 0 / 0.5615 GB, free: 2.121 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006909/0.3898, allocations: 438.6 kB / 0.562 GB, free: 1.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.3898, allocations: 11.97 kB / 0.562 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.742e-05/0.3899, allocations: 38.73 kB / 0.562 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.3899, allocations: 16.84 kB / 0.562 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.3903, allocations: 204.1 kB / 0.5622 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3903, allocations: 4.375 kB / 0.5622 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.3903, allocations: 8.375 kB / 0.5622 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.3906, allocations: 70.16 kB / 0.5623 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.3906, allocations: 11.89 kB / 0.5623 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3906, allocations: 4 kB / 0.5623 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.3906, allocations: 4 kB / 0.5623 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.3907, allocations: 35.97 kB / 0.5624 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.3913, allocations: 328.7 kB / 0.5627 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.3914, allocations: 62.55 kB / 0.5627 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.3915, allocations: 24.84 kB / 0.5628 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.3916, allocations: 3.984 kB / 0.5628 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3916, allocations: 38.56 kB / 0.5628 GB, free: 0.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.3916, allocations: 0 / 0.5628 GB, free: 0.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001168/0.3928, allocations: 317.7 kB / 0.5631 GB, free: 360 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3928, allocations: 55.34 kB / 0.5631 GB, free: 292 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.3931, allocations: 244.2 kB / 0.5634 GB, free: 32 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/0.3932, allocations: 29.78 kB / 0.5634 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.3933, allocations: 112 kB / 0.5635 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.3933, allocations: 43.64 kB / 0.5636 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.3934, allocations: 29.72 kB / 0.5636 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.3935, allocations: 334.8 kB / 0.5639 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.765e-05/0.3936, allocations: 31.98 kB / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-05/0.3937, allocations: 35.97 kB / 0.564 GB, free: 15.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.3939, allocations: 92.08 kB / 0.5641 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3939, allocations: 0 / 0.5641 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002771/0.3942, allocations: 149.5 kB / 0.5642 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3942, allocations: 4 kB / 0.5642 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3942, allocations: 0 / 0.5642 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3943, allocations: 4 kB / 0.5642 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3944, allocations: 23.98 kB / 0.5642 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3944, allocations: 3.938 kB / 0.5642 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.3944, allocations: 7.984 kB / 0.5642 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.3945, allocations: 8 kB / 0.5642 GB, free: 15.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001469/0.3946, allocations: 133.8 kB / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.3946, allocations: 19.91 kB / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.395, allocations: 155.2 kB / 0.5645 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.395, allocations: 0 / 0.5645 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.395, allocations: 3.938 kB / 0.5645 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.395, allocations: 0 / 0.5645 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007163/0.3958, allocations: 494.9 kB / 0.565 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3958, allocations: 0 / 0.565 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.645e-05/0.3959, allocations: 31.92 kB / 0.5651 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3959, allocations: 0 / 0.5651 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3959, allocations: 4 kB / 0.5651 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3959, allocations: 4 kB / 0.5651 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3959, allocations: 0 / 0.5651 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.3962, allocations: 248.2 kB / 0.5653 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.3963, allocations: 89.02 kB / 0.5654 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3963, allocations: 3.938 kB / 0.5654 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.3964, allocations: 4 kB / 0.5654 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.3964, allocations: 11.98 kB / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.3964, allocations: 4 kB / 0.5654 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.3966, allocations: 181.2 kB / 0.5656 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3966, allocations: 0 / 0.5656 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.3968, allocations: 28 kB / 0.5656 GB, free: 13.61 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 (13): * Single equations (assignments): 13 * 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.002274/0.3991, allocations: 1.125 MB / 0.5667 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002889/0.3994, allocations: 91.95 kB / 0.5668 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3994, allocations: 0 / 0.5668 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.3995, allocations: 55.97 kB / 0.5668 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.4, allocations: 30.38 kB / 0.5669 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.4024, allocations: 1.86 MB / 0.5687 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.4027, allocations: 0.7197 MB / 0.5694 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.799e-05/0.4028, allocations: 12.55 kB / 0.5694 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.918e-05/0.4028, allocations: 47.42 kB / 0.5694 GB, free: 9.711 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4028, allocations: 0 / 0.5694 GB, free: 9.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.4297, allocations: 3.536 MB / 0.5729 GB, free: 6.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.539, allocations: 11.41 kB / 0.5729 GB, free: 6.176 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.515503445989452] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.661828618001891 8.676853694 8.284887843 Calling exit ...