Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.0018/0.0018, 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.00224/0.00224, allocations: 201.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.586/1.586, allocations: 230.6 MB / 258.3 MB, free: 8 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.2375/0.2375, allocations: 44.92 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.001982/0.001982, allocations: 67.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4042, allocations: 65.48 MB / 0.5579 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003631/0.4079, allocations: 1.747 MB / 0.5596 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.4098, allocations: 1.045 MB / 0.5606 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.912e-05/0.4099, allocations: 3.938 kB / 0.5606 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.4102, allocations: 51.77 kB / 0.5606 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003682/0.4106, allocations: 95.55 kB / 0.5607 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.4108, allocations: 83.66 kB / 0.5608 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.411, allocations: 103.7 kB / 0.5609 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.4112, allocations: 5.828 kB / 0.5609 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.4113, allocations: 55.7 kB / 0.561 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.4114, allocations: 27.86 kB / 0.561 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.4114, allocations: 4 kB / 0.561 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.4115, allocations: 47.97 kB / 0.561 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.4115, allocations: 19.92 kB / 0.5611 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.4116, allocations: 35.69 kB / 0.5611 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.4119, allocations: 131.4 kB / 0.5612 GB, free: 4.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4119, allocations: 0 / 0.5612 GB, free: 4.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4119, allocations: 0 / 0.5612 GB, free: 4.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.4119, allocations: 0 / 0.5612 GB, free: 4.324 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.0005876/0.4125, allocations: 349.5 kB / 0.5616 GB, free: 3.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4125, allocations: 12.03 kB / 0.5616 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.297e-05/0.4125, allocations: 4.188 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.4126, allocations: 30.75 kB / 0.5616 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.4126, allocations: 20.89 kB / 0.5616 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.4129, allocations: 158.2 kB / 0.5618 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.4129, allocations: 8.062 kB / 0.5618 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.413, allocations: 8 kB / 0.5618 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.4131, allocations: 49.67 kB / 0.5618 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4131, allocations: 0 / 0.5618 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.4131, allocations: 11.98 kB / 0.5618 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.4131, allocations: 0 / 0.5618 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.579e-05/0.4132, allocations: 19.98 kB / 0.5619 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.4136, allocations: 259.9 kB / 0.5621 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4138, allocations: 54.62 kB / 0.5622 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.01e-05/0.4138, allocations: 24.84 kB / 0.5622 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.4139, allocations: 0 / 0.5622 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.4141, allocations: 71.33 kB / 0.5623 GB, free: 3.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.4141, allocations: 0 / 0.5623 GB, free: 3.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006012/0.4147, allocations: 181.3 kB / 0.5624 GB, free: 2.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.4147, allocations: 55.41 kB / 0.5625 GB, free: 2.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.415, allocations: 218.6 kB / 0.5627 GB, free: 2.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.415, allocations: 33.7 kB / 0.5627 GB, free: 2.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.4151, allocations: 100.1 kB / 0.5628 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.4151, allocations: 27.78 kB / 0.5628 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.4153, allocations: 21.72 kB / 0.5629 GB, free: 2.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.4155, allocations: 326.8 kB / 0.5632 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.835e-05/0.4155, allocations: 27.92 kB / 0.5632 GB, free: 2.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.689e-05/0.4156, allocations: 33.7 kB / 0.5632 GB, free: 2.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.4157, allocations: 61.7 kB / 0.5633 GB, free: 1.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4157, allocations: 0 / 0.5633 GB, free: 1.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002333/0.416, allocations: 105.5 kB / 0.5634 GB, free: 1.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.416, allocations: 8 kB / 0.5634 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.416, allocations: 3.984 kB / 0.5634 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.416, allocations: 0 / 0.5634 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.4161, allocations: 15.98 kB / 0.5634 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.4162, allocations: 7.969 kB / 0.5634 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.4162, allocations: 4.375 kB / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.4162, allocations: 7.938 kB / 0.5634 GB, free: 1.84 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.000172/0.4164, allocations: 128.8 kB / 0.5636 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.4164, allocations: 19.84 kB / 0.5636 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.4167, allocations: 119.2 kB / 0.5637 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4167, allocations: 4 kB / 0.5637 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.4168, allocations: 3.938 kB / 0.5637 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4168, allocations: 0 / 0.5637 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/0.4174, allocations: 366.4 kB / 0.5641 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4174, allocations: 0 / 0.5641 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.4174, allocations: 15.92 kB / 0.5641 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.4174, allocations: 3.938 kB / 0.5641 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4174, allocations: 4 kB / 0.5641 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4174, allocations: 0 / 0.5641 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4174, allocations: 0 / 0.5641 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.4178, allocations: 204.3 kB / 0.5643 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.4178, allocations: 12.08 kB / 0.5643 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.4178, allocations: 7.984 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.4179, allocations: 7.938 kB / 0.5643 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.418, allocations: 7.984 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.418, allocations: 4 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.4182, allocations: 156.2 kB / 0.5645 GB, free: 0.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4182, allocations: 4 kB / 0.5645 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.4185, allocations: 23.94 kB / 0.5645 GB, free: 0.6797 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.002648/0.4211, allocations: 1.091 MB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.4214, allocations: 55.91 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4214, allocations: 0 / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.4215, allocations: 27.92 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.422, allocations: 44.77 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.424, allocations: 1.682 MB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.4243, allocations: 0.708 MB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.459e-05/0.4244, allocations: 20.58 kB / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.034e-05/0.4245, allocations: 35.42 kB / 0.5681 GB, free: 13.06 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4245, allocations: 0 / 0.5681 GB, free: 13.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.4485, allocations: 3.718 MB / 0.5717 GB, free: 9.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.61, allocations: 6.812 kB / 0.5717 GB, free: 9.414 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.84035595599562] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.823159891995601 11.839840061 11.424591164 Calling exit ...