Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001787/0.001787, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2189/0.2189, allocations: 46.93 MB / 361.6 MB, free: 4.219 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 83.88 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3067, allocations: 66.07 MB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003374/0.31, allocations: 1.964 MB / 0.5635 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.3118, allocations: 1.084 MB / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.364e-05/0.3119, allocations: 4 kB / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.3121, allocations: 55.62 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.3124, allocations: 91.55 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.3126, allocations: 103.6 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.3129, allocations: 147.5 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.298e-05/0.313, allocations: 19.66 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.3131, allocations: 67.7 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.278e-05/0.3132, allocations: 47.7 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.3132, allocations: 8 kB / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.54e-05/0.3133, allocations: 51.97 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.3133, allocations: 27.92 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.3134, allocations: 51.62 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.3136, allocations: 163.2 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3136, allocations: 0 / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3136, allocations: 0 / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3137, allocations: 0 / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006268/0.3143, allocations: 410.9 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.3143, allocations: 8.031 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.3144, allocations: 38.75 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.3144, allocations: 16.84 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.3147, allocations: 178.9 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3147, allocations: 8.375 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.3147, allocations: 4.375 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.315, allocations: 112.5 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.315, allocations: 4 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.315, allocations: 4 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.315, allocations: 4 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.3151, allocations: 59.83 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.3157, allocations: 484 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.316, allocations: 86.66 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.273e-05/0.3161, allocations: 40.77 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.3161, allocations: 7.984 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.3163, allocations: 83.33 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.3163, allocations: 0 / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003806/0.3167, allocations: 141.5 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3167, allocations: 51.41 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.3169, allocations: 207.1 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.317, allocations: 25.7 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.317, allocations: 116.1 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.3171, allocations: 31.75 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.3171, allocations: 29.7 kB / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3173, allocations: 326.8 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.671e-05/0.3174, allocations: 27.98 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3175, allocations: 64.2 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.3177, allocations: 104.2 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3177, allocations: 384 / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002739/0.3179, allocations: 141.4 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.318, allocations: 4 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.318, allocations: 4 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.318, allocations: 0 / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3181, allocations: 27.92 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3181, allocations: 0 / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.345e-05/0.3182, allocations: 23.83 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3182, allocations: 4 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001183/0.3183, allocations: 133 kB / 0.5682 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.3183, allocations: 15.91 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.3186, allocations: 123 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.3186, allocations: 0 / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3186, allocations: 4 kB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3186, allocations: 3.938 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.3188, allocations: 180.7 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.3188, allocations: 0 / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.797e-05/0.3189, allocations: 19.92 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.3189, allocations: 7.938 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3189, allocations: 4 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3189, allocations: 0 / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3189, allocations: 0 / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.3193, allocations: 184.8 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.3193, allocations: 11.94 kB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.3193, allocations: 8.281 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.978e-05/0.3194, allocations: 8.062 kB / 0.5688 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.3194, allocations: 11.92 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.3194, allocations: 7.938 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.3196, allocations: 147.2 kB / 0.5689 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3196, allocations: 0 / 0.5689 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.3198, allocations: 31.92 kB / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.001926/0.3217, allocations: 0.9965 MB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.322, allocations: 75.83 kB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.322, allocations: 0 / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.636e-05/0.3221, allocations: 36.17 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3224, allocations: 54.2 kB / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.3244, allocations: 1.772 MB / 0.5718 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.3247, allocations: 0.7123 MB / 0.5725 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.552e-05/0.3248, allocations: 17.42 kB / 0.5725 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.3249, allocations: 47.42 kB / 0.5726 GB, free: 8.648 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3249, allocations: 0 / 0.5726 GB, free: 8.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.3538, allocations: 3.93 MB / 0.5764 GB, free: 4.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.459/8.812, allocations: 0 / 0.5764 GB, free: 4.738 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.872745068743825] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y'] 8.957719277124852 8.986931645 8.667990214 Calling exit ...