Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001734/0.001734, allocations: 109 kB / 21.23 MB, free: 0.6719 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.001592/0.001592, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.423/1.423, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2277/0.2277, allocations: 46.93 MB / 361.6 MB, free: 4.211 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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",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.002345/0.002345, allocations: 75.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3007, allocations: 66.09 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003166/0.3039, allocations: 1.672 MB / 0.5632 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.3058, allocations: 1.298 MB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.982e-05/0.3059, allocations: 4 kB / 0.5644 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.3061, allocations: 23.8 kB / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.3064, allocations: 83.61 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.3069, allocations: 179.2 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.307, allocations: 79.77 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.3071, allocations: 13.95 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.951e-05/0.3072, allocations: 31.86 kB / 0.5648 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.3073, allocations: 43.83 kB / 0.5649 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.3073, allocations: 4 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.3075, allocations: 107.9 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.137e-05/0.3076, allocations: 23.92 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.3076, allocations: 27.8 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.3079, allocations: 159.4 kB / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3079, allocations: 0 / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3079, allocations: 0 / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.3079, allocations: 0 / 0.5652 GB, free: 0.5664 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.0005349/0.3084, allocations: 349.5 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.512e-05/0.3085, allocations: 8.031 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.3085, allocations: 38.73 kB / 0.5656 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.3086, allocations: 8.891 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.3088, allocations: 150.3 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.3088, allocations: 4.375 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.3088, allocations: 384 / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.309, allocations: 83.88 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.309, allocations: 3.938 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3091, allocations: 3.938 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.3091, allocations: 8 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.3092, allocations: 39.95 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.3097, allocations: 283.8 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.3098, allocations: 42.5 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.3099, allocations: 28.94 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.3099, allocations: 8.047 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.3099, allocations: 34.56 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.3099, allocations: 0 / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007884/0.3107, allocations: 229.3 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.3108, allocations: 77.11 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.311, allocations: 160 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.311, allocations: 29.7 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.311, allocations: 100.1 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.3111, allocations: 19.8 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.3111, allocations: 29.7 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3113, allocations: 322.8 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.3114, allocations: 43.95 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.3115, allocations: 53.62 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.3118, allocations: 96.81 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3118, allocations: 0 / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002804/0.312, allocations: 117.6 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3121, allocations: 11.94 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3121, allocations: 0 / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3121, allocations: 0 / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3122, allocations: 23.97 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3122, allocations: 4 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/0.3123, allocations: 7.938 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3123, allocations: 4 kB / 0.5675 GB, free: 13.98 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.0001062/0.3124, allocations: 126.6 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.3124, allocations: 15.91 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.3128, allocations: 138.6 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3128, allocations: 0 / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3128, allocations: 0 / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3128, allocations: 0 / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006673/0.3134, allocations: 397.5 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3134, allocations: 4 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.438e-05/0.3135, allocations: 19.98 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3135, allocations: 0 / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3135, allocations: 4 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3135, allocations: 3.938 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3135, allocations: 0 / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.3139, allocations: 227.3 kB / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.3139, allocations: 15.94 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.3139, allocations: 4 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.314, allocations: 16.2 kB / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.3141, allocations: 3.984 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3141, allocations: 4 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.3142, allocations: 119.2 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3142, allocations: 0 / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.3145, allocations: 39.88 kB / 0.5686 GB, free: 12.77 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.002223/0.3167, allocations: 1.146 MB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.317, allocations: 95.91 kB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.317, allocations: 0 / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.3172, allocations: 47.91 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.3175, allocations: 32.28 kB / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.3198, allocations: 1.655 MB / 0.5715 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.3201, allocations: 0.7039 MB / 0.5722 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.3202, allocations: 32.34 kB / 0.5722 GB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.3203, allocations: 31.42 kB / 0.5722 GB, free: 9.07 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3203, allocations: 96 / 0.5722 GB, free: 9.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/0.356, allocations: 3.674 MB / 0.5758 GB, free: 5.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/8.63, allocations: 4 kB / 0.5758 GB, free: 5.367 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.460154442116618] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.772522689774632 8.795399117 8.482532287 Calling exit ...