Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001564/0.001564, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001429/0.001429, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.455/1.455, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2275/0.2275, allocations: 46.93 MB / 361.6 MB, free: 4.184 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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test12",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.002699/0.002699, allocations: 75.86 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3199, allocations: 66.08 MB / 0.5615 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003086/0.323, allocations: 1.672 MB / 0.5632 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.3249, allocations: 1.294 MB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.325, allocations: 4 kB / 0.5644 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.3252, allocations: 31.78 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.3255, allocations: 79.62 kB / 0.5645 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.3259, allocations: 182.8 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.3261, allocations: 83.7 kB / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.3261, allocations: 9.969 kB / 0.5648 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.113e-05/0.3262, allocations: 35.84 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.3264, allocations: 39.84 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.3264, allocations: 7.984 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.3265, allocations: 95.89 kB / 0.565 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.3266, allocations: 27.91 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.3266, allocations: 27.8 kB / 0.565 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.3269, allocations: 163.4 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3269, allocations: 4 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3269, allocations: 0 / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3269, allocations: 0 / 0.5652 GB, free: 0.5117 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005562/0.3275, allocations: 349.5 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3275, allocations: 8.031 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.3275, allocations: 30.75 kB / 0.5656 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.3276, allocations: 8.891 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.3278, allocations: 146.3 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.3278, allocations: 12.36 kB / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3278, allocations: 4.375 kB / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.328, allocations: 83.88 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.328, allocations: 3.938 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.3281, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3281, allocations: 4 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.3282, allocations: 39.95 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.3286, allocations: 279.8 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.3288, allocations: 50.48 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.133e-05/0.3288, allocations: 24.94 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.3289, allocations: 0 / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3289, allocations: 38.56 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3289, allocations: 0 / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008097/0.3297, allocations: 237.3 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.3298, allocations: 77.11 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.33, allocations: 164 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.33, allocations: 29.7 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.33, allocations: 100.1 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.3301, allocations: 19.8 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.3301, allocations: 21.72 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3303, allocations: 322.8 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3304, allocations: 39.97 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3305, allocations: 61.61 kB / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.3308, allocations: 84.8 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3308, allocations: 7.938 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003005/0.3311, allocations: 125.5 kB / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3311, allocations: 10.19 kB / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3311, allocations: 0 / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3311, allocations: 0 / 0.5675 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3312, allocations: 19.98 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3312, allocations: 0 / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.3313, allocations: 11.92 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3313, allocations: 4 kB / 0.5675 GB, free: 13.93 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 (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.0001131/0.3314, allocations: 130.6 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.3315, allocations: 11.91 kB / 0.5676 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.3318, allocations: 142.3 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3318, allocations: 0 / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3318, allocations: 0 / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3318, allocations: 0 / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.3324, allocations: 397.4 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3324, allocations: 0 / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.451e-05/0.3325, allocations: 19.98 kB / 0.5682 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3325, allocations: 0 / 0.5682 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3325, allocations: 4 kB / 0.5682 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3325, allocations: 3.938 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3325, allocations: 480 / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.3329, allocations: 231.4 kB / 0.5684 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.3329, allocations: 11.94 kB / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.3329, allocations: 8.281 kB / 0.5684 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.98e-05/0.333, allocations: 15.92 kB / 0.5684 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.333, allocations: 4 kB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.3331, allocations: 7.984 kB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.3332, allocations: 117.5 kB / 0.5686 GB, free: 12.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3332, allocations: 0 / 0.5686 GB, free: 12.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.3335, allocations: 47.8 kB / 0.5686 GB, free: 12.71 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.002234/0.3357, allocations: 1.136 MB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.336, allocations: 87.92 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.336, allocations: 0 / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.3361, allocations: 47.91 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.3365, allocations: 24.23 kB / 0.5699 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.3387, allocations: 1.663 MB / 0.5715 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.339, allocations: 0.7078 MB / 0.5722 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.788e-05/0.3391, allocations: 20.42 kB / 0.5722 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.3392, allocations: 35.41 kB / 0.5722 GB, free: 9.023 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3392, allocations: 96 / 0.5722 GB, free: 9.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.3686, allocations: 3.673 MB / 0.5758 GB, free: 5.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.313/8.682, allocations: 12.05 kB / 0.5758 GB, free: 5.316 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.567747354041785] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.8280189759098 8.860335558 8.527448244 Calling exit ...