Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001858/0.001858, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.002375/0.002375, allocations: 221.3 kB / 24.52 MB, free: 3.906 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2279/0.2279, allocations: 44.93 MB / 359.6 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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.001978/0.001978, allocations: 63.91 kB / 0.4938 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4051, allocations: 65.48 MB / 0.5578 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003616/0.4087, allocations: 1.711 MB / 0.5595 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.4108, allocations: 0.9715 MB / 0.5604 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.4109, allocations: 3.938 kB / 0.5604 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.4113, allocations: 35.78 kB / 0.5604 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004205/0.4117, allocations: 95.59 kB / 0.5605 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.4119, allocations: 87.66 kB / 0.5606 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.4122, allocations: 107.7 kB / 0.5607 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.4123, allocations: 5.828 kB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.749e-05/0.4124, allocations: 47.78 kB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.4125, allocations: 31.78 kB / 0.5608 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.4125, allocations: 4 kB / 0.5608 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.4126, allocations: 43.98 kB / 0.5609 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.225e-05/0.4127, allocations: 19.91 kB / 0.5609 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.4127, allocations: 31.81 kB / 0.5609 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.413, allocations: 123.4 kB / 0.561 GB, free: 4.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.413, allocations: 0 / 0.561 GB, free: 4.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.413, allocations: 4 kB / 0.561 GB, free: 4.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.413, allocations: 0 / 0.561 GB, free: 4.18 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.0006747/0.4137, allocations: 345.5 kB / 0.5614 GB, free: 3.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.4137, allocations: 16.02 kB / 0.5614 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.885e-05/0.4138, allocations: 192 / 0.5614 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.4138, allocations: 30.75 kB / 0.5614 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.4138, allocations: 12.89 kB / 0.5614 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.4142, allocations: 151 kB / 0.5616 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.4142, allocations: 12.12 kB / 0.5616 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.4142, allocations: 0 / 0.5616 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.4144, allocations: 61.67 kB / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4144, allocations: 0 / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4144, allocations: 0 / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4144, allocations: 0 / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.4145, allocations: 27.92 kB / 0.5617 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.415, allocations: 259.9 kB / 0.5619 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.4152, allocations: 50.69 kB / 0.5619 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.494e-05/0.4152, allocations: 24.83 kB / 0.562 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.4152, allocations: 7.938 kB / 0.562 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.4155, allocations: 67.39 kB / 0.562 GB, free: 3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.4155, allocations: 7.875 kB / 0.5621 GB, free: 2.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006255/0.4161, allocations: 189.3 kB / 0.5622 GB, free: 2.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.4161, allocations: 55.41 kB / 0.5623 GB, free: 2.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.4164, allocations: 206.2 kB / 0.5625 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.4164, allocations: 29.7 kB / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.4165, allocations: 100.1 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.4165, allocations: 23.8 kB / 0.5626 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.4165, allocations: 29.7 kB / 0.5627 GB, free: 2.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4167, allocations: 326.8 kB / 0.563 GB, free: 2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.108e-05/0.4168, allocations: 20 kB / 0.563 GB, free: 1.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/0.4169, allocations: 33.7 kB / 0.563 GB, free: 1.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.417, allocations: 61.64 kB / 0.5631 GB, free: 1.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.417, allocations: 0 / 0.5631 GB, free: 1.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002244/0.4172, allocations: 109.5 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4172, allocations: 4 kB / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4172, allocations: 4 kB / 0.5632 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4172, allocations: 4.031 kB / 0.5632 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.4173, allocations: 15.98 kB / 0.5632 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.4174, allocations: 3.938 kB / 0.5632 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.4174, allocations: 8 kB / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.4174, allocations: 4.375 kB / 0.5632 GB, free: 1.719 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.000116/0.4175, allocations: 124.5 kB / 0.5633 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.4176, allocations: 11.91 kB / 0.5634 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.4179, allocations: 127 kB / 0.5635 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4179, allocations: 0 / 0.5635 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.4179, allocations: 7.938 kB / 0.5635 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4179, allocations: 4 kB / 0.5635 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.4184, allocations: 370.6 kB / 0.5638 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4184, allocations: 0 / 0.5638 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-05/0.4184, allocations: 15.92 kB / 0.5639 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.4184, allocations: 8.219 kB / 0.5639 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.4185, allocations: 0 / 0.5639 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4185, allocations: 0 / 0.5639 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.4185, allocations: 7.938 kB / 0.5639 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.4188, allocations: 212.2 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.4188, allocations: 19.91 kB / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.4188, allocations: 7.938 kB / 0.5641 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.4189, allocations: 4 kB / 0.5641 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.4189, allocations: 7.984 kB / 0.5641 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.419, allocations: 4 kB / 0.5641 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.4191, allocations: 152.2 kB / 0.5643 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4191, allocations: 0 / 0.5643 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.4194, allocations: 23.94 kB / 0.5643 GB, free: 0.5391 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 (9): * Single equations (assignments): 7 * 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.002492/0.4219, allocations: 1.134 MB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.4222, allocations: 67.89 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4222, allocations: 3.938 kB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.4222, allocations: 27.92 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.4226, allocations: 35.11 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.4249, allocations: 1.674 MB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.425, allocations: 88.19 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.791e-05/0.4251, allocations: 17.27 kB / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.4251, allocations: 43.42 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4251, allocations: 0 / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.45, allocations: 3.809 MB / 0.571 GB, free: 9.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.88, allocations: 13.06 kB / 0.571 GB, free: 9.789 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.895249572931789] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.114802445052192 12.13423896 11.717705334 Calling exit ...