Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001888/0.001888, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001579/0.001579, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2329/0.2329, allocations: 44.91 MB / 359.6 MB, free: 6.27 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.002037/0.002037, allocations: 71.89 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3972, allocations: 65.46 MB / 0.5579 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003495/0.4007, allocations: 1.753 MB / 0.5596 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.4027, allocations: 1.069 MB / 0.5606 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.4028, allocations: 0 / 0.5606 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.4031, allocations: 43.77 kB / 0.5606 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.4034, allocations: 95.53 kB / 0.5607 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.4037, allocations: 83.66 kB / 0.5608 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.4039, allocations: 107.7 kB / 0.5609 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.404, allocations: 9.953 kB / 0.5609 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.4041, allocations: 55.77 kB / 0.561 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.4042, allocations: 43.78 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.4042, allocations: 4 kB / 0.561 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.4045, allocations: 119.9 kB / 0.5611 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.4045, allocations: 23.84 kB / 0.5612 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.46e-05/0.4046, allocations: 35.75 kB / 0.5612 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.4049, allocations: 171.4 kB / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4049, allocations: 0 / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4049, allocations: 0 / 0.5614 GB, free: 4.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.405, allocations: 0 / 0.5614 GB, free: 4.133 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.0006905/0.4056, allocations: 365.4 kB / 0.5617 GB, free: 3.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4057, allocations: 12.03 kB / 0.5617 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.993e-05/0.4057, allocations: 12.12 kB / 0.5617 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.4057, allocations: 30.75 kB / 0.5618 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.4058, allocations: 12.89 kB / 0.5618 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.4062, allocations: 156 kB / 0.5619 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.4062, allocations: 12.12 kB / 0.5619 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.4062, allocations: 0 / 0.5619 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.4064, allocations: 67.39 kB / 0.562 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4064, allocations: 4 kB / 0.562 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4064, allocations: 0 / 0.562 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4064, allocations: 4 kB / 0.562 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.4065, allocations: 19.92 kB / 0.562 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.407, allocations: 252 kB / 0.5623 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.4072, allocations: 62.61 kB / 0.5623 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.482e-05/0.4072, allocations: 36.89 kB / 0.5624 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.4073, allocations: 3.938 kB / 0.5624 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.4075, allocations: 67.39 kB / 0.5624 GB, free: 2.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.4075, allocations: 0 / 0.5624 GB, free: 2.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007111/0.4082, allocations: 213.2 kB / 0.5626 GB, free: 2.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.4083, allocations: 77.11 kB / 0.5627 GB, free: 2.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.4085, allocations: 173.8 kB / 0.5629 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.4085, allocations: 29.7 kB / 0.5629 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.4086, allocations: 100.1 kB / 0.563 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.4086, allocations: 35.67 kB / 0.563 GB, free: 2.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.4087, allocations: 25.72 kB / 0.5631 GB, free: 2.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4089, allocations: 322.8 kB / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.4089, allocations: 31.92 kB / 0.5634 GB, free: 1.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.409, allocations: 62.55 kB / 0.5635 GB, free: 1.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.4092, allocations: 73.7 kB / 0.5635 GB, free: 1.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4092, allocations: 0 / 0.5635 GB, free: 1.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002493/0.4095, allocations: 117.6 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.4095, allocations: 8 kB / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4095, allocations: 0 / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.4095, allocations: 0 / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.4096, allocations: 31.98 kB / 0.5637 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.4096, allocations: 3.938 kB / 0.5637 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.4097, allocations: 3.938 kB / 0.5637 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.4097, allocations: 8 kB / 0.5637 GB, free: 1.527 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 (13): * Single equations (assignments): 13 * 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.0001683/0.4099, allocations: 125.8 kB / 0.5638 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.4099, allocations: 11.91 kB / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.4103, allocations: 130.8 kB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4103, allocations: 4 kB / 0.564 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4103, allocations: 7.938 kB / 0.564 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4103, allocations: 0 / 0.564 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.4109, allocations: 410.3 kB / 0.5644 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4109, allocations: 0 / 0.5644 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.4109, allocations: 11.98 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4109, allocations: 4 kB / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.4109, allocations: 4 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4109, allocations: 0 / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4109, allocations: 4.031 kB / 0.5644 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.4112, allocations: 220.2 kB / 0.5646 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.4112, allocations: 11.91 kB / 0.5646 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.4113, allocations: 4 kB / 0.5646 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.4114, allocations: 4 kB / 0.5646 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.4114, allocations: 7.984 kB / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.4114, allocations: 11.98 kB / 0.5646 GB, free: 496 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.4115, allocations: 123.2 kB / 0.5647 GB, free: 372 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4115, allocations: 4 kB / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.4119, allocations: 51.86 kB / 0.5648 GB, free: 316 kB / 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 (10): * Single equations (assignments): 8 * 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.002789/0.4147, allocations: 1.209 MB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.4149, allocations: 71.91 kB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4149, allocations: 0 / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.415, allocations: 39.98 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.4154, allocations: 34.3 kB / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.4179, allocations: 1.668 MB / 0.5677 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.4184, allocations: 0.7045 MB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.4185, allocations: 24.41 kB / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.711e-05/0.4186, allocations: 35.42 kB / 0.5685 GB, free: 12.6 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4186, allocations: 0 / 0.5685 GB, free: 12.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.4452, allocations: 4.469 MB / 0.5729 GB, free: 8.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.85, allocations: 15.55 kB / 0.5729 GB, free: 8.164 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.901588812994305] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.065588689001743 12.080753813 11.672735634 Calling exit ...