Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001796/0.001796, allocations: 109.4 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.002383/0.002383, allocations: 214.7 kB / 23 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.444/1.444, allocations: 230.2 MB / 256.3 MB, free: 8.512 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.2258/0.2258, allocations: 46.89 MB / 359.4 MB, free: 4.891 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.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",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.002284/0.002284, allocations: 79.88 kB / 0.4942 GB, free: 8.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3127, allocations: 65.99 MB / 0.5586 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.00434/0.317, allocations: 1.696 MB / 0.5603 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.3187, allocations: 0.5927 MB / 0.5608 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.216e-05/0.3188, allocations: 4 kB / 0.5608 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.3191, allocations: 51.73 kB / 0.5609 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.3195, allocations: 91.61 kB / 0.561 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.3201, allocations: 190.9 kB / 0.5612 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.3204, allocations: 83.75 kB / 0.5612 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3205, allocations: 18.06 kB / 0.5613 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.542e-05/0.3206, allocations: 39.83 kB / 0.5613 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.3207, allocations: 47.83 kB / 0.5613 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.3207, allocations: 8 kB / 0.5614 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.3209, allocations: 47.97 kB / 0.5614 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.898e-05/0.321, allocations: 23.86 kB / 0.5614 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.321, allocations: 43.73 kB / 0.5615 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.3213, allocations: 119.4 kB / 0.5616 GB, free: 1.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3213, allocations: 0 / 0.5616 GB, free: 1.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3213, allocations: 0 / 0.5616 GB, free: 1.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3213, allocations: 0 / 0.5616 GB, free: 1.949 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007529/0.3221, allocations: 422.7 kB / 0.562 GB, free: 1.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3221, allocations: 16.03 kB / 0.562 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.56e-05/0.3222, allocations: 30.75 kB / 0.562 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.3222, allocations: 12.84 kB / 0.562 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.3225, allocations: 204.1 kB / 0.5622 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3225, allocations: 8.375 kB / 0.5622 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.3226, allocations: 4.375 kB / 0.5622 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.3228, allocations: 58.23 kB / 0.5623 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.3228, allocations: 11.88 kB / 0.5623 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3229, allocations: 4 kB / 0.5623 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3229, allocations: 4 kB / 0.5623 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.3231, allocations: 43.89 kB / 0.5624 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/0.3238, allocations: 324.7 kB / 0.5627 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.3241, allocations: 58.58 kB / 0.5627 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.3242, allocations: 32.95 kB / 0.5628 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3242, allocations: 4 kB / 0.5628 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.3242, allocations: 34.56 kB / 0.5628 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.694e-06/0.3242, allocations: 0 / 0.5628 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.002338/0.3266, allocations: 421 kB / 0.5632 GB, free: 112 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.3266, allocations: 55.41 kB / 0.5632 GB, free: 44 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.3269, allocations: 182.2 kB / 0.5634 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.327, allocations: 29.7 kB / 0.5635 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3271, allocations: 100.1 kB / 0.5635 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.3272, allocations: 51.52 kB / 0.5636 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.3273, allocations: 29.7 kB / 0.5636 GB, free: 15.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.3275, allocations: 326.8 kB / 0.5639 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.3277, allocations: 51.91 kB / 0.564 GB, free: 15.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.3279, allocations: 60.45 kB / 0.564 GB, free: 15.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.3284, allocations: 125 kB / 0.5642 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3284, allocations: 0 / 0.5642 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005369/0.329, allocations: 165.6 kB / 0.5643 GB, free: 14.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.329, allocations: 4 kB / 0.5643 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.329, allocations: 4 kB / 0.5643 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.329, allocations: 3.938 kB / 0.5643 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3292, allocations: 31.92 kB / 0.5644 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3292, allocations: 7.938 kB / 0.5644 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.3292, allocations: 11.98 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3292, allocations: 4 kB / 0.5644 GB, free: 14.83 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 (11): * Single equations (assignments): 11 * 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.0001097/0.3294, allocations: 125.8 kB / 0.5645 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.3294, allocations: 15.91 kB / 0.5645 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.3299, allocations: 194.2 kB / 0.5647 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3299, allocations: 3.984 kB / 0.5647 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3299, allocations: 7.938 kB / 0.5647 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3299, allocations: 0 / 0.5647 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000774/0.3306, allocations: 0.4961 MB / 0.5652 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3306, allocations: 3.938 kB / 0.5652 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.3308, allocations: 31.98 kB / 0.5652 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3308, allocations: 0 / 0.5652 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3308, allocations: 7.938 kB / 0.5652 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3308, allocations: 0 / 0.5652 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.3308, allocations: 0 / 0.5652 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.3312, allocations: 269.1 kB / 0.5655 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.3313, allocations: 100.9 kB / 0.5656 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3313, allocations: 4 kB / 0.5656 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.706e-05/0.3314, allocations: 7.984 kB / 0.5656 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.3314, allocations: 11.98 kB / 0.5656 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3314, allocations: 4 kB / 0.5656 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.3315, allocations: 144.2 kB / 0.5658 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3315, allocations: 7.938 kB / 0.5658 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3318, allocations: 27.92 kB / 0.5658 GB, free: 13.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002241/0.334, allocations: 1.159 MB / 0.5669 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.3344, allocations: 131.7 kB / 0.5671 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.3344, allocations: 0 / 0.5671 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.3346, allocations: 63.89 kB / 0.5671 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.335, allocations: 20 kB / 0.5671 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.3374, allocations: 1.907 MB / 0.569 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.3378, allocations: 0.7158 MB / 0.5697 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.302e-05/0.3379, allocations: 32.52 kB / 0.5697 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.338, allocations: 39.42 kB / 0.5698 GB, free: 9.238 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.338, allocations: 4 kB / 0.5698 GB, free: 9.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.3624, allocations: 3.468 MB / 0.5732 GB, free: 5.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.48, allocations: 6.984 kB / 0.5732 GB, free: 5.773 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.3233687489992] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.605932204984128 8.634381877 8.307742387 Calling exit ...