Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.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.001311/0.001311, allocations: 109.1 kB / 20.22 MB, free: 1.664 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.001611/0.001611, allocations: 225.6 kB / 23.48 MB, free: 5.145 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.525/1.525, allocations: 230.2 MB / 256.8 MB, free: 8.586 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.2286/0.2286, allocations: 46.88 MB / 360 MB, free: 4.734 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.Test46,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46",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.002236/0.002236, allocations: 79.88 kB / 0.4952 GB, free: 8.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2866, allocations: 66 MB / 0.5596 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003173/0.2898, allocations: 1.729 MB / 0.5613 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2915, allocations: 1.06 MB / 0.5623 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/0.2915, allocations: 3.938 kB / 0.5623 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.2918, allocations: 51.75 kB / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.2921, allocations: 103.5 kB / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.2923, allocations: 75.73 kB / 0.5626 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.2925, allocations: 103.7 kB / 0.5627 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.157e-05/0.2926, allocations: 9.812 kB / 0.5627 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.2927, allocations: 47.78 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.016e-05/0.2927, allocations: 31.78 kB / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.2927, allocations: 7.938 kB / 0.5628 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.711e-05/0.2928, allocations: 47.97 kB / 0.5628 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/0.2929, allocations: 27.86 kB / 0.5628 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.293, allocations: 39.69 kB / 0.5629 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.2933, allocations: 143.4 kB / 0.563 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2933, allocations: 0 / 0.563 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2933, allocations: 0 / 0.563 GB, free: 1.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2933, allocations: 0 / 0.563 GB, free: 1.477 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.0006212/0.2939, allocations: 458.3 kB / 0.5634 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2939, allocations: 12.03 kB / 0.5635 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.294, allocations: 38.75 kB / 0.5635 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.294, allocations: 16.84 kB / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.2943, allocations: 213.1 kB / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.2943, allocations: 384 / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.2944, allocations: 4.375 kB / 0.5637 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.2945, allocations: 65.73 kB / 0.5638 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2945, allocations: 0 / 0.5638 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.2945, allocations: 0 / 0.5638 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2945, allocations: 0 / 0.5638 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.2946, allocations: 23.98 kB / 0.5638 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.295, allocations: 304.8 kB / 0.5641 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.2952, allocations: 58.61 kB / 0.5641 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.2952, allocations: 16.86 kB / 0.5642 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.2953, allocations: 0 / 0.5642 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.2954, allocations: 71.38 kB / 0.5642 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.2954, allocations: 0 / 0.5642 GB, free: 44 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005879/0.296, allocations: 181.3 kB / 0.5644 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.296, allocations: 59.39 kB / 0.5645 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.2963, allocations: 270.8 kB / 0.5647 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.2963, allocations: 25.7 kB / 0.5647 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.2964, allocations: 116.1 kB / 0.5649 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.2965, allocations: 23.8 kB / 0.5649 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.2965, allocations: 25.7 kB / 0.5649 GB, free: 15.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2967, allocations: 330.8 kB / 0.5652 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.2967, allocations: 27.92 kB / 0.5652 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.309e-05/0.2968, allocations: 33.7 kB / 0.5653 GB, free: 14.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.2969, allocations: 61.89 kB / 0.5653 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2969, allocations: 4 kB / 0.5653 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001996/0.2971, allocations: 113.4 kB / 0.5654 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2972, allocations: 8 kB / 0.5655 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2972, allocations: 0 / 0.5655 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2972, allocations: 4.359 kB / 0.5655 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.615e-05/0.2973, allocations: 19.92 kB / 0.5655 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.2973, allocations: 4 kB / 0.5655 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.2973, allocations: 4 kB / 0.5655 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.2973, allocations: 12.03 kB / 0.5655 GB, free: 14.67 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.0001282/0.2975, allocations: 141.7 kB / 0.5656 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.2975, allocations: 15.91 kB / 0.5656 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.2978, allocations: 111.2 kB / 0.5657 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2978, allocations: 0 / 0.5657 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2978, allocations: 0 / 0.5657 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2978, allocations: 0 / 0.5657 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.2982, allocations: 415.3 kB / 0.5661 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2982, allocations: 4 kB / 0.5661 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.2983, allocations: 7.984 kB / 0.5662 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2983, allocations: 7.938 kB / 0.5662 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2983, allocations: 0 / 0.5662 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2983, allocations: 3.938 kB / 0.5662 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2983, allocations: 4 kB / 0.5662 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.2985, allocations: 208.3 kB / 0.5664 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.2987, allocations: 89.02 kB / 0.5665 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.2987, allocations: 7.984 kB / 0.5665 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.2988, allocations: 7.938 kB / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.2988, allocations: 4 kB / 0.5665 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.2988, allocations: 7.984 kB / 0.5665 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.299, allocations: 200.6 kB / 0.5667 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.299, allocations: 0 / 0.5667 GB, free: 13.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.2992, allocations: 31.92 kB / 0.5667 GB, free: 13.32 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.002091/0.3013, allocations: 1.093 MB / 0.5678 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.3015, allocations: 59.84 kB / 0.5678 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3015, allocations: 4 kB / 0.5678 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.3016, allocations: 23.94 kB / 0.5679 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.3019, allocations: 34.27 kB / 0.5679 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.3039, allocations: 1.844 MB / 0.5697 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.3043, allocations: 0.7196 MB / 0.5704 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.016e-05/0.3043, allocations: 16.88 kB / 0.5704 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.3044, allocations: 51.41 kB / 0.5705 GB, free: 9.512 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3044, allocations: 3.938 kB / 0.5705 GB, free: 9.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.3291, allocations: 3.794 MB / 0.5742 GB, free: 5.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.192, allocations: 15.25 kB / 0.5742 GB, free: 5.719 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.082593142986298] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.31853132811375 8.345538716 8.047135328 Calling exit ...