Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.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.001345/0.001345, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001739/0.001739, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.44/1.44, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.23/0.23, allocations: 46.94 MB / 361.6 MB, free: 4.207 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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28",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.002308/0.002308, allocations: 75.88 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4017, allocations: 66.08 MB / 0.5616 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003794/0.4055, allocations: 1.757 MB / 0.5633 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.4076, allocations: 1.041 MB / 0.5643 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.4077, allocations: 0 / 0.5643 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.408, allocations: 47.75 kB / 0.5643 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.4084, allocations: 103.5 kB / 0.5644 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.4087, allocations: 71.75 kB / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.4089, allocations: 107.7 kB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.409, allocations: 10.25 kB / 0.5646 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.4091, allocations: 51.72 kB / 0.5647 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.27e-05/0.4092, allocations: 27.84 kB / 0.5647 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.4092, allocations: 7.938 kB / 0.5647 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.4093, allocations: 39.98 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.217e-05/0.4094, allocations: 23.92 kB / 0.5648 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.4095, allocations: 39.72 kB / 0.5648 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.4097, allocations: 119.5 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.4097, allocations: 4 kB / 0.5649 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4097, allocations: 0 / 0.5649 GB, free: 1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4097, allocations: 3.938 kB / 0.5649 GB, free: 0.9961 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.0006219/0.4103, allocations: 349.5 kB / 0.5653 GB, free: 0.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.4104, allocations: 8.031 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.4104, allocations: 34.75 kB / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.4105, allocations: 8.891 kB / 0.5653 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.4108, allocations: 154.9 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.4108, allocations: 8.375 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.4108, allocations: 4.375 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.411, allocations: 57.8 kB / 0.5655 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.411, allocations: 7.984 kB / 0.5655 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.411, allocations: 0 / 0.5655 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.411, allocations: 0 / 0.5655 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.166e-05/0.4111, allocations: 23.92 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.4115, allocations: 252.2 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.4117, allocations: 58.69 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.4118, allocations: 16.84 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.4118, allocations: 4 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.412, allocations: 67.33 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.412, allocations: 3.938 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005935/0.4126, allocations: 181.3 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.4127, allocations: 55.41 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.4129, allocations: 202.2 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.4129, allocations: 29.7 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.413, allocations: 104.1 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.413, allocations: 27.78 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.4131, allocations: 29.7 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.4133, allocations: 326.8 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.445e-05/0.4134, allocations: 20 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.681e-05/0.4134, allocations: 37.7 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.4136, allocations: 57.64 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4136, allocations: 0 / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002048/0.4138, allocations: 105.6 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4138, allocations: 8.031 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4138, allocations: 3.938 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4138, allocations: 0 / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.4139, allocations: 16 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4139, allocations: 0 / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.414, allocations: 3.984 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.414, allocations: 4 kB / 0.5671 GB, free: 14.56 MB / 414.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.0001487/0.4141, allocations: 129.5 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.4142, allocations: 15.91 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.4145, allocations: 119.1 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4145, allocations: 0 / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4145, allocations: 0 / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.4145, allocations: 7.984 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.415, allocations: 366.3 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.415, allocations: 4 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.415, allocations: 4 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.415, allocations: 4 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.415, allocations: 4.031 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.415, allocations: 3.938 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.415, allocations: 4 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.4153, allocations: 216.2 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.4153, allocations: 7.953 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.4153, allocations: 4.125 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.4154, allocations: 12.31 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.4155, allocations: 11.92 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.4155, allocations: 4 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.4156, allocations: 148.2 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4156, allocations: 0 / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.4159, allocations: 27.94 kB / 0.5681 GB, free: 13.4 MB / 414.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.002307/0.4182, allocations: 1.08 MB / 0.5692 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.4184, allocations: 55.97 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4184, allocations: 3.938 kB / 0.5693 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.695e-05/0.4185, allocations: 27.97 kB / 0.5693 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.4189, allocations: 39.28 kB / 0.5693 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.4212, allocations: 1.658 MB / 0.5709 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.4216, allocations: 0.7041 MB / 0.5716 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.028e-05/0.4217, allocations: 12.97 kB / 0.5716 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.4218, allocations: 35.42 kB / 0.5717 GB, free: 9.805 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4218, allocations: 0 / 0.5717 GB, free: 9.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.4506, allocations: 3.537 MB / 0.5751 GB, free: 6.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.393, allocations: 0 / 0.5751 GB, free: 6.281 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.314163719769567] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.533583257813007 8.549337281 8.136398934 Calling exit ...