Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.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.001778/0.001778, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.002286/0.002286, allocations: 223.4 kB / 23 MB, free: 5.609 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.475/1.475, allocations: 230.2 MB / 256.2 MB, free: 8.738 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.231/0.231, allocations: 46.89 MB / 359.4 MB, free: 4.957 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.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",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.002264/0.002264, allocations: 87.86 kB / 0.4942 GB, free: 8.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.32, allocations: 65.99 MB / 0.5586 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003384/0.3233, allocations: 1.83 MB / 0.5604 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.3261, allocations: 1.784 MB / 0.5622 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.468e-05/0.3262, allocations: 0 / 0.5622 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.3265, allocations: 59.62 kB / 0.5622 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004389/0.327, allocations: 139.4 kB / 0.5624 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.3273, allocations: 107.6 kB / 0.5625 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.3276, allocations: 203.4 kB / 0.5627 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.095e-05/0.3276, allocations: 5.688 kB / 0.5627 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.3278, allocations: 91.56 kB / 0.5627 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.328, allocations: 79.66 kB / 0.5628 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.328, allocations: 12 kB / 0.5628 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.3283, allocations: 123.8 kB / 0.563 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.3283, allocations: 31.84 kB / 0.563 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.3284, allocations: 67.53 kB / 0.563 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.3288, allocations: 229.2 kB / 0.5633 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3288, allocations: 0 / 0.5633 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3288, allocations: 4 kB / 0.5633 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.3288, allocations: 0 / 0.5633 GB, free: 0.5469 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000759/0.3296, allocations: 0.498 MB / 0.5638 GB, free: 0 / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.3296, allocations: 12.08 kB / 0.5638 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.3297, allocations: 30.75 kB / 0.5638 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.3297, allocations: 16.84 kB / 0.5638 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.3302, allocations: 252 kB / 0.5641 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.3302, allocations: 12.36 kB / 0.5641 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.3302, allocations: 4.375 kB / 0.5641 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.3304, allocations: 105.1 kB / 0.5642 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3305, allocations: 3.938 kB / 0.5642 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3305, allocations: 4 kB / 0.5642 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3305, allocations: 0 / 0.5642 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3306, allocations: 27.97 kB / 0.5642 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.3309, allocations: 226.5 kB / 0.5644 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.3312, allocations: 97.17 kB / 0.5645 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.3313, allocations: 41.7 kB / 0.5646 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.3313, allocations: 0 / 0.5646 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.3315, allocations: 113 kB / 0.5647 GB, free: 14.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3315, allocations: 0 / 0.5647 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004856/0.332, allocations: 173.4 kB / 0.5648 GB, free: 14.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.219e-05/0.3321, allocations: 132.5 kB / 0.565 GB, free: 14.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.3324, allocations: 241 kB / 0.5652 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3324, allocations: 25.7 kB / 0.5652 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.3325, allocations: 116.1 kB / 0.5653 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.3326, allocations: 35.78 kB / 0.5654 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.3326, allocations: 29.72 kB / 0.5654 GB, free: 14.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3328, allocations: 330.8 kB / 0.5657 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.562e-05/0.3329, allocations: 27.98 kB / 0.5657 GB, free: 13.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.333, allocations: 76.52 kB / 0.5658 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.3332, allocations: 91.84 kB / 0.5659 GB, free: 13.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.3332, allocations: 7.969 kB / 0.5659 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002962/0.3335, allocations: 141.4 kB / 0.566 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3335, allocations: 4 kB / 0.566 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3335, allocations: 0 / 0.566 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3335, allocations: 4 kB / 0.566 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.3337, allocations: 19.98 kB / 0.5661 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3337, allocations: 4 kB / 0.5661 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.522e-05/0.3338, allocations: 15.88 kB / 0.5661 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.3338, allocations: 12.06 kB / 0.5661 GB, free: 13.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001391/0.3339, allocations: 129.8 kB / 0.5662 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.334, allocations: 19.84 kB / 0.5662 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.3343, allocations: 150.6 kB / 0.5664 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3343, allocations: 0 / 0.5664 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3343, allocations: 0 / 0.5664 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3343, allocations: 0 / 0.5664 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.3346, allocations: 225.5 kB / 0.5666 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3346, allocations: 7.938 kB / 0.5666 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.3346, allocations: 12.23 kB / 0.5666 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3346, allocations: 0 / 0.5666 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.3346, allocations: 12 kB / 0.5666 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3346, allocations: 0 / 0.5666 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3346, allocations: 3.984 kB / 0.5666 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.3349, allocations: 161.8 kB / 0.5668 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.335, allocations: 108.9 kB / 0.5669 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.335, allocations: 4 kB / 0.5669 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.3351, allocations: 7.984 kB / 0.5669 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.3352, allocations: 4 kB / 0.5669 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.3352, allocations: 11.98 kB / 0.5669 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002057/0.3354, allocations: 181.5 kB / 0.5671 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3354, allocations: 0 / 0.5671 GB, free: 12.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.3357, allocations: 55.86 kB / 0.5671 GB, free: 12.17 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002366/0.3381, allocations: 1.106 MB / 0.5682 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.3384, allocations: 75.91 kB / 0.5683 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3384, allocations: 0 / 0.5683 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3385, allocations: 44.03 kB / 0.5683 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3389, allocations: 54.47 kB / 0.5684 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.3414, allocations: 1.898 MB / 0.5702 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.3418, allocations: 0.728 MB / 0.5709 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.3419, allocations: 29.53 kB / 0.571 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.342, allocations: 63.39 kB / 0.571 GB, free: 8.195 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.342, allocations: 3.938 kB / 0.571 GB, free: 8.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.3727, allocations: 5.326 MB / 0.5762 GB, free: 2.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/8.575, allocations: 8.062 kB / 0.5762 GB, free: 2.859 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.469562562007923] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 8.699745787016582 8.715379411 8.383560739 Calling exit ...