Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 112.5 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2722/0.2722, allocations: 44.9 MB / 359.6 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 66.06 kB / 0.4939 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4061, allocations: 65.47 MB / 0.5579 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003742/0.4098, allocations: 1.75 MB / 0.5596 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.412, allocations: 1.042 MB / 0.5606 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.4121, allocations: 11.88 kB / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004062/0.4125, allocations: 43.77 kB / 0.5606 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003909/0.4129, allocations: 99.59 kB / 0.5607 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.4132, allocations: 79.67 kB / 0.5608 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.4134, allocations: 99.73 kB / 0.5609 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.4135, allocations: 13.83 kB / 0.5609 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.4136, allocations: 51.66 kB / 0.561 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.4137, allocations: 35.84 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.4137, allocations: 4 kB / 0.561 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.4138, allocations: 39.98 kB / 0.561 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.415e-05/0.4139, allocations: 19.92 kB / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.4139, allocations: 39.73 kB / 0.5611 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.4142, allocations: 131.4 kB / 0.5612 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4142, allocations: 4 kB / 0.5612 GB, free: 4.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4142, allocations: 0 / 0.5612 GB, free: 4.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.4142, allocations: 0 / 0.5612 GB, free: 4.297 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005771/0.4148, allocations: 349.5 kB / 0.5616 GB, free: 3.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4148, allocations: 8.031 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.229e-05/0.4148, allocations: 192 / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.4148, allocations: 34.75 kB / 0.5616 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.4149, allocations: 16.83 kB / 0.5616 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.4152, allocations: 154.3 kB / 0.5618 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.4152, allocations: 4.125 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.4152, allocations: 4 kB / 0.5618 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.4154, allocations: 57.61 kB / 0.5618 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4154, allocations: 0 / 0.5618 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4154, allocations: 3.984 kB / 0.5618 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.4154, allocations: 4 kB / 0.5618 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/0.4155, allocations: 19.98 kB / 0.5619 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.4159, allocations: 267.9 kB / 0.5621 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4161, allocations: 50.62 kB / 0.5622 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.4162, allocations: 28.83 kB / 0.5622 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.4162, allocations: 4 kB / 0.5622 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.4164, allocations: 71.33 kB / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.4164, allocations: 0 / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006367/0.417, allocations: 181.3 kB / 0.5624 GB, free: 2.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.4171, allocations: 59.41 kB / 0.5625 GB, free: 2.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.4173, allocations: 214.6 kB / 0.5627 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.4173, allocations: 25.7 kB / 0.5627 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.36e-05/0.4174, allocations: 108.1 kB / 0.5628 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.4175, allocations: 31.78 kB / 0.5628 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.4175, allocations: 17.72 kB / 0.5629 GB, free: 2.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4177, allocations: 326.8 kB / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.4177, allocations: 19.98 kB / 0.5632 GB, free: 2.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.4178, allocations: 41.64 kB / 0.5632 GB, free: 2.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.4179, allocations: 65.69 kB / 0.5633 GB, free: 1.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4179, allocations: 0 / 0.5633 GB, free: 1.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001927/0.4181, allocations: 101.5 kB / 0.5634 GB, free: 1.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4181, allocations: 4 kB / 0.5634 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4181, allocations: 0 / 0.5634 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4181, allocations: 0 / 0.5634 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/0.4182, allocations: 23.98 kB / 0.5634 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4182, allocations: 3.938 kB / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.4183, allocations: 0 / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.4183, allocations: 7.938 kB / 0.5634 GB, free: 1.824 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001171/0.4184, allocations: 140.5 kB / 0.5636 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.4184, allocations: 11.91 kB / 0.5636 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.4187, allocations: 115.2 kB / 0.5637 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4187, allocations: 0 / 0.5637 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4187, allocations: 3.938 kB / 0.5637 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4187, allocations: 0 / 0.5637 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.4192, allocations: 370.4 kB / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.4192, allocations: 3.984 kB / 0.564 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.4192, allocations: 8 kB / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4192, allocations: 3.938 kB / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.4193, allocations: 4.375 kB / 0.5641 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.4193, allocations: 3.938 kB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4193, allocations: 0 / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.4195, allocations: 212.3 kB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.4195, allocations: 12.08 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.4196, allocations: 7.984 kB / 0.5643 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.4196, allocations: 3.938 kB / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.4197, allocations: 11.98 kB / 0.5643 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.4197, allocations: 4 kB / 0.5643 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.4199, allocations: 152.3 kB / 0.5645 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4199, allocations: 4 kB / 0.5645 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.4201, allocations: 23.94 kB / 0.5645 GB, free: 0.6602 MB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0024/0.4225, allocations: 1.092 MB / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.4227, allocations: 59.91 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4227, allocations: 0 / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/0.4228, allocations: 27.92 kB / 0.5656 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.4232, allocations: 32.16 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.4254, allocations: 1.693 MB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.4259, allocations: 0.7041 MB / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.306e-05/0.4259, allocations: 16.58 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.426, allocations: 43.42 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.426, allocations: 4 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.4521, allocations: 3.713 MB / 0.5717 GB, free: 9.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.55, allocations: 10.81 kB / 0.5717 GB, free: 9.387 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.773225717013702] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.778862912033219 11.795400364 11.377761526 Calling exit ...