Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001663/0.001663, allocations: 112.2 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.002031/0.002031, 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.2417/0.2417, allocations: 44.9 MB / 359.6 MB, free: 6.309 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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.003593/0.003593, allocations: 67.89 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4213, allocations: 65.47 MB / 0.5579 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00334/0.4246, allocations: 1.7 MB / 0.5595 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.4265, allocations: 1.022 MB / 0.5605 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.235e-05/0.4266, allocations: 0 / 0.5605 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.4269, allocations: 71.72 kB / 0.5606 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.4272, allocations: 107.5 kB / 0.5607 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.4275, allocations: 67.75 kB / 0.5608 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.4277, allocations: 111.6 kB / 0.5609 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.4277, allocations: 8.219 kB / 0.5609 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.4278, allocations: 51.78 kB / 0.5609 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.4279, allocations: 51.77 kB / 0.561 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.4279, allocations: 0 / 0.561 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-05/0.428, allocations: 31.98 kB / 0.561 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.4281, allocations: 23.86 kB / 0.561 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.4282, allocations: 31.8 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.4284, allocations: 105.4 kB / 0.5611 GB, free: 4.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4284, allocations: 7.938 kB / 0.5612 GB, free: 4.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4284, allocations: 0 / 0.5612 GB, free: 4.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.4284, allocations: 0 / 0.5612 GB, free: 4.371 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005719/0.429, allocations: 341.6 kB / 0.5615 GB, free: 4.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.429, allocations: 8.031 kB / 0.5615 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.288e-05/0.429, allocations: 192 / 0.5615 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.429, allocations: 38.75 kB / 0.5615 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.4291, allocations: 12.84 kB / 0.5615 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.4294, allocations: 151 kB / 0.5617 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.4294, allocations: 4.125 kB / 0.5617 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.4294, allocations: 0 / 0.5617 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.4296, allocations: 53.66 kB / 0.5617 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.4296, allocations: 0 / 0.5617 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4296, allocations: 4 kB / 0.5617 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.4296, allocations: 0 / 0.5617 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.624e-05/0.4297, allocations: 15.98 kB / 0.5618 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.4299, allocations: 160.7 kB / 0.5619 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.4301, allocations: 58.48 kB / 0.562 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.4301, allocations: 12.86 kB / 0.562 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.4301, allocations: 4 kB / 0.562 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.4303, allocations: 71.33 kB / 0.5621 GB, free: 3.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.4303, allocations: 0 / 0.5621 GB, free: 3.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002903/0.4306, allocations: 101.5 kB / 0.5621 GB, free: 3.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.4307, allocations: 55.41 kB / 0.5622 GB, free: 3.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.4309, allocations: 194.3 kB / 0.5624 GB, free: 2.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.4309, allocations: 25.7 kB / 0.5624 GB, free: 2.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.4309, allocations: 96.14 kB / 0.5625 GB, free: 2.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.431, allocations: 31.81 kB / 0.5625 GB, free: 2.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.431, allocations: 17.72 kB / 0.5625 GB, free: 2.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4312, allocations: 322.8 kB / 0.5629 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.035e-05/0.4312, allocations: 15.98 kB / 0.5629 GB, free: 2.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.268e-05/0.4313, allocations: 29.72 kB / 0.5629 GB, free: 2.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.4314, allocations: 49.58 kB / 0.5629 GB, free: 2.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4314, allocations: 4 kB / 0.563 GB, free: 2.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000159/0.4316, allocations: 81.59 kB / 0.563 GB, free: 2.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4316, allocations: 4 kB / 0.563 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4316, allocations: 0 / 0.563 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4316, allocations: 3.984 kB / 0.563 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.4317, allocations: 15.94 kB / 0.5631 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4317, allocations: 0 / 0.5631 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.4317, allocations: 0 / 0.5631 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4317, allocations: 4.156 kB / 0.5631 GB, free: 2.219 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 (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.0001113/0.4318, allocations: 129.8 kB / 0.5632 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.4319, allocations: 11.95 kB / 0.5632 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.4321, allocations: 94.69 kB / 0.5633 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4321, allocations: 4 kB / 0.5633 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4321, allocations: 384 / 0.5633 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4321, allocations: 0 / 0.5633 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.4322, allocations: 164.6 kB / 0.5634 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4322, allocations: 4 kB / 0.5634 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.4323, allocations: 4 kB / 0.5634 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.4323, allocations: 4 kB / 0.5635 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.4323, allocations: 0 / 0.5635 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4323, allocations: 0 / 0.5635 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4323, allocations: 3.984 kB / 0.5635 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.4325, allocations: 113 kB / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.4325, allocations: 7.938 kB / 0.5636 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.4325, allocations: 4 kB / 0.5636 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.4326, allocations: 7.938 kB / 0.5636 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.4326, allocations: 4 kB / 0.5636 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.4326, allocations: 3.984 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.4327, allocations: 148.2 kB / 0.5637 GB, free: 1.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4327, allocations: 3.938 kB / 0.5637 GB, free: 1.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.433, allocations: 27.92 kB / 0.5638 GB, free: 1.406 MB / 398.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: 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 (5): * Single equations (assignments): 3 * 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.001958/0.4349, allocations: 0.9495 MB / 0.5647 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.4351, allocations: 35.92 kB / 0.5647 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4351, allocations: 4 kB / 0.5647 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.402e-05/0.4351, allocations: 15.98 kB / 0.5647 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.4354, allocations: 30.16 kB / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.4373, allocations: 1.51 MB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.4376, allocations: 0.7079 MB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.464e-05/0.4377, allocations: 12.48 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.4377, allocations: 31.42 kB / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4377, allocations: 0 / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.4619, allocations: 3.345 MB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.59, allocations: 12.44 kB / 0.5703 GB, free: 10.86 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.769357317010872] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.812026744999457 11.83765314 11.403855483 Calling exit ...