Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001295/0.001295, allocations: 109.3 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.001485/0.001485, allocations: 216.2 kB / 23 MB, free: 5.578 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.506/1.506, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.2383/0.2383, allocations: 46.88 MB / 359.4 MB, free: 4.918 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6",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.002287/0.002287, allocations: 91.84 kB / 0.4942 GB, free: 8.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3324, allocations: 65.98 MB / 0.5586 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003168/0.3356, allocations: 1.668 MB / 0.5602 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3366, allocations: 0.5615 MB / 0.5608 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.266e-05/0.3367, allocations: 4 kB / 0.5608 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.337, allocations: 95.67 kB / 0.5609 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.3372, allocations: 111.6 kB / 0.561 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.3375, allocations: 99.69 kB / 0.5611 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.3377, allocations: 95.81 kB / 0.5612 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.455e-05/0.3378, allocations: 21.8 kB / 0.5612 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.43e-05/0.3378, allocations: 43.78 kB / 0.5612 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.3379, allocations: 67.8 kB / 0.5613 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.338, allocations: 4 kB / 0.5613 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3381, allocations: 47.98 kB / 0.5613 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.3381, allocations: 31.84 kB / 0.5614 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.3382, allocations: 43.61 kB / 0.5614 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3384, allocations: 131.4 kB / 0.5615 GB, free: 2.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3384, allocations: 0 / 0.5615 GB, free: 2.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3384, allocations: 0 / 0.5615 GB, free: 2.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.3384, allocations: 4 kB / 0.5615 GB, free: 2.152 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.0005563/0.339, allocations: 430.6 kB / 0.562 GB, free: 1.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.339, allocations: 15.97 kB / 0.562 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.3391, allocations: 34.75 kB / 0.562 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3391, allocations: 16.84 kB / 0.562 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.3393, allocations: 208.1 kB / 0.5622 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3393, allocations: 12.38 kB / 0.5622 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3393, allocations: 8.312 kB / 0.5622 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3395, allocations: 70.22 kB / 0.5623 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3395, allocations: 7.891 kB / 0.5623 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3395, allocations: 4 kB / 0.5623 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3395, allocations: 0 / 0.5623 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.3397, allocations: 39.95 kB / 0.5624 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.3402, allocations: 336.7 kB / 0.5627 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.3403, allocations: 58.55 kB / 0.5627 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.979e-05/0.3404, allocations: 24.84 kB / 0.5628 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.3404, allocations: 0 / 0.5628 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.3404, allocations: 30.56 kB / 0.5628 GB, free: 0.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.3404, allocations: 0 / 0.5628 GB, free: 0.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001074/0.3415, allocations: 321.7 kB / 0.5631 GB, free: 396 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.3415, allocations: 59.34 kB / 0.5632 GB, free: 324 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.3418, allocations: 236.3 kB / 0.5634 GB, free: 72 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3418, allocations: 25.7 kB / 0.5634 GB, free: 40 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3419, allocations: 120 kB / 0.5635 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.342, allocations: 43.64 kB / 0.5636 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.342, allocations: 37.7 kB / 0.5636 GB, free: 15.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.3423, allocations: 322.8 kB / 0.5639 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.78e-05/0.3424, allocations: 35.98 kB / 0.5639 GB, free: 15.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.172e-05/0.3425, allocations: 35.97 kB / 0.564 GB, free: 15.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.3427, allocations: 92.2 kB / 0.5641 GB, free: 15.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3427, allocations: 0 / 0.5641 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002712/0.3429, allocations: 141.5 kB / 0.5642 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3429, allocations: 4 kB / 0.5642 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.343, allocations: 0 / 0.5642 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.343, allocations: 0 / 0.5642 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3431, allocations: 35.98 kB / 0.5642 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3431, allocations: 3.938 kB / 0.5642 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.3432, allocations: 11.98 kB / 0.5642 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.3432, allocations: 7.938 kB / 0.5643 GB, free: 15.14 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.0001219/0.3433, allocations: 133.8 kB / 0.5644 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.3433, allocations: 15.91 kB / 0.5644 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.3437, allocations: 159.2 kB / 0.5645 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3437, allocations: 0 / 0.5645 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3437, allocations: 3.938 kB / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3437, allocations: 4 kB / 0.5646 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.3444, allocations: 487 kB / 0.565 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3444, allocations: 0 / 0.565 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.409e-05/0.3445, allocations: 27.92 kB / 0.565 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3445, allocations: 4 kB / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.3445, allocations: 0 / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3445, allocations: 0 / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3445, allocations: 8.031 kB / 0.5651 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.3448, allocations: 244.1 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.3449, allocations: 89.02 kB / 0.5654 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.3449, allocations: 8 kB / 0.5654 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.345, allocations: 3.984 kB / 0.5654 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.345, allocations: 12 kB / 0.5654 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.345, allocations: 8 kB / 0.5654 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.3452, allocations: 177.2 kB / 0.5656 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3452, allocations: 0 / 0.5656 GB, free: 13.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.3454, allocations: 27.98 kB / 0.5656 GB, free: 13.64 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.002176/0.3476, allocations: 1.129 MB / 0.5667 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.3479, allocations: 95.94 kB / 0.5668 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3479, allocations: 0 / 0.5668 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.348, allocations: 47.92 kB / 0.5668 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3484, allocations: 23.73 kB / 0.5669 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.3507, allocations: 1.861 MB / 0.5687 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.3511, allocations: 0.7158 MB / 0.5694 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.597e-05/0.3512, allocations: 16.55 kB / 0.5694 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/0.3513, allocations: 51.41 kB / 0.5694 GB, free: 9.746 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3513, allocations: 0 / 0.5694 GB, free: 9.746 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.3779, allocations: 3.537 MB / 0.5729 GB, free: 6.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.609, allocations: 7.922 kB / 0.5729 GB, free: 6.211 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.553453850006917] 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.734062304982217 8.758326408 8.415376173 Calling exit ...