Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001466/0.001466, 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.001702/0.001702, 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.513/1.513, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2382/0.2382, allocations: 44.92 MB / 359.6 MB, free: 6.289 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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",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.001964/0.001964, allocations: 63.91 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4073, allocations: 65.47 MB / 0.5579 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003455/0.4108, allocations: 1.748 MB / 0.5596 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.4126, allocations: 1.038 MB / 0.5606 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.787e-05/0.4126, allocations: 11.81 kB / 0.5606 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.4129, allocations: 39.83 kB / 0.5606 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.4132, allocations: 95.55 kB / 0.5607 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.4134, allocations: 83.66 kB / 0.5608 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.4136, allocations: 103.8 kB / 0.5609 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.4137, allocations: 9.812 kB / 0.5609 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.4138, allocations: 51.72 kB / 0.561 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.198e-05/0.4139, allocations: 31.8 kB / 0.561 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.4139, allocations: 4 kB / 0.561 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.772e-05/0.414, allocations: 43.97 kB / 0.561 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/0.4141, allocations: 19.92 kB / 0.5611 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.184e-05/0.4141, allocations: 35.75 kB / 0.5611 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.4144, allocations: 131.4 kB / 0.5612 GB, free: 4.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4144, allocations: 0 / 0.5612 GB, free: 4.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4144, allocations: 0 / 0.5612 GB, free: 4.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4144, allocations: 0 / 0.5612 GB, free: 4.316 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.0005642/0.4149, allocations: 357.4 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.415, allocations: 8.031 kB / 0.5616 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.781e-05/0.415, allocations: 4.188 kB / 0.5616 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.415, allocations: 34.75 kB / 0.5616 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.4151, allocations: 16.83 kB / 0.5616 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.4154, allocations: 154.3 kB / 0.5618 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.4154, allocations: 12.12 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.4154, allocations: 3.984 kB / 0.5618 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.4156, allocations: 57.61 kB / 0.5618 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4156, allocations: 0 / 0.5618 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4157, allocations: 4 kB / 0.5618 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4157, allocations: 0 / 0.5618 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.009e-05/0.4157, allocations: 15.98 kB / 0.5619 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.4162, allocations: 271.9 kB / 0.5621 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.4164, allocations: 54.62 kB / 0.5622 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.4164, allocations: 20.84 kB / 0.5622 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.4164, allocations: 0 / 0.5622 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.4166, allocations: 67.39 kB / 0.5622 GB, free: 3.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.4166, allocations: 0 / 0.5622 GB, free: 3.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005936/0.4172, allocations: 181.3 kB / 0.5624 GB, free: 2.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.4173, allocations: 55.41 kB / 0.5625 GB, free: 2.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.4175, allocations: 222.6 kB / 0.5627 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.4175, allocations: 29.7 kB / 0.5627 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.4176, allocations: 100.1 kB / 0.5628 GB, free: 2.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.4177, allocations: 31.78 kB / 0.5628 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.4177, allocations: 21.72 kB / 0.5629 GB, free: 2.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4178, allocations: 326.8 kB / 0.5632 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-05/0.4179, allocations: 19.98 kB / 0.5632 GB, free: 2.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.693e-05/0.418, allocations: 41.64 kB / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.4181, allocations: 61.77 kB / 0.5633 GB, free: 1.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4181, allocations: 4 kB / 0.5633 GB, free: 1.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001923/0.4183, allocations: 105.5 kB / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4183, allocations: 6.656 kB / 0.5634 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4183, allocations: 0 / 0.5634 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4183, allocations: 4 kB / 0.5634 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-05/0.4184, allocations: 15.98 kB / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.4185, allocations: 3.938 kB / 0.5634 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.4185, allocations: 8 kB / 0.5634 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.4185, allocations: 4.312 kB / 0.5634 GB, free: 1.832 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.0001183/0.4186, allocations: 133.8 kB / 0.5636 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.4186, allocations: 15.91 kB / 0.5636 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.4189, allocations: 115 kB / 0.5637 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4189, allocations: 0 / 0.5637 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.4189, allocations: 7.938 kB / 0.5637 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.4189, allocations: 0 / 0.5637 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.4194, allocations: 370.4 kB / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4194, allocations: 4 kB / 0.5641 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.4195, allocations: 8 kB / 0.5641 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4195, allocations: 3.938 kB / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.4195, allocations: 4 kB / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4195, allocations: 0 / 0.5641 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4195, allocations: 4 kB / 0.5641 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.4197, allocations: 204.3 kB / 0.5643 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.144e-05/0.4198, allocations: 15.88 kB / 0.5643 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.4198, allocations: 4 kB / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.4199, allocations: 4 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.4199, allocations: 3.984 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.4199, allocations: 4 kB / 0.5643 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.4201, allocations: 160.3 kB / 0.5645 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4201, allocations: 0 / 0.5645 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.4203, allocations: 23.94 kB / 0.5645 GB, free: 0.6758 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.002251/0.4226, allocations: 1.106 MB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.4228, allocations: 55.91 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4228, allocations: 0 / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.4228, allocations: 24 kB / 0.5656 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.4232, allocations: 27.28 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.001984/0.4252, allocations: 1.699 MB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.4255, allocations: 0.704 MB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.527e-05/0.4256, allocations: 24.88 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.4257, allocations: 43.42 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4257, allocations: 0 / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.4494, allocations: 3.719 MB / 0.5717 GB, free: 9.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.57, allocations: 4 kB / 0.5717 GB, free: 9.391 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.77050598099595] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.788780220027547 11.805491376 11.38777398 Calling exit ...