Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.001298/0.001298, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001443/0.001443, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.365/1.365, allocations: 230.5 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.94 MB / 361.6 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 75.88 kB / 0.497 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2908, allocations: 66.08 MB / 0.5615 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003228/0.294, allocations: 1.712 MB / 0.5632 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.2957, allocations: 0.9631 MB / 0.5641 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/0.2957, allocations: 4 kB / 0.5641 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.296, allocations: 43.77 kB / 0.5642 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.2963, allocations: 99.59 kB / 0.5643 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.2965, allocations: 83.66 kB / 0.5643 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.2967, allocations: 111.6 kB / 0.5644 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.826e-05/0.2968, allocations: 6.109 kB / 0.5645 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.2969, allocations: 39.8 kB / 0.5645 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.32e-05/0.297, allocations: 39.77 kB / 0.5645 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.297, allocations: 8 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.4e-05/0.2971, allocations: 43.98 kB / 0.5646 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.024e-05/0.2971, allocations: 23.91 kB / 0.5646 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.2972, allocations: 27.81 kB / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.2974, allocations: 127.4 kB / 0.5648 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2974, allocations: 0 / 0.5648 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2974, allocations: 0 / 0.5648 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.2974, allocations: 0 / 0.5648 GB, free: 0.8242 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.0005281/0.2979, allocations: 353.5 kB / 0.5651 GB, free: 460 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.298, allocations: 12.03 kB / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.08e-05/0.298, allocations: 192 / 0.5651 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.298, allocations: 30.75 kB / 0.5651 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.298, allocations: 8.891 kB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.2983, allocations: 166.3 kB / 0.5653 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2983, allocations: 4.375 kB / 0.5653 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.2983, allocations: 4.312 kB / 0.5653 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.2985, allocations: 65.59 kB / 0.5654 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2985, allocations: 0 / 0.5654 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.2985, allocations: 0 / 0.5654 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2985, allocations: 4 kB / 0.5654 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.645e-05/0.2986, allocations: 27.92 kB / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.299, allocations: 255.9 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.2992, allocations: 62.61 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.727e-05/0.2992, allocations: 24.84 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.2992, allocations: 4 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.2994, allocations: 63.39 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.2994, allocations: 0 / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005499/0.2999, allocations: 181.3 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.3, allocations: 59.41 kB / 0.566 GB, free: 15.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.3002, allocations: 222.2 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.3002, allocations: 25.7 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.3003, allocations: 112.1 kB / 0.5664 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.3003, allocations: 23.84 kB / 0.5664 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.3004, allocations: 21.7 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3005, allocations: 330.8 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.3006, allocations: 19.94 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.377e-05/0.3007, allocations: 45.64 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.3008, allocations: 57.7 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3008, allocations: 0 / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002046/0.301, allocations: 113.5 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.301, allocations: 4 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.301, allocations: 0 / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.301, allocations: 0 / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.144e-05/0.3011, allocations: 19.98 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.3011, allocations: 0 / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.3012, allocations: 4 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3012, allocations: 7.938 kB / 0.567 GB, free: 14.33 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.0001188/0.3013, allocations: 135 kB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.3013, allocations: 11.91 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.3016, allocations: 127 kB / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3016, allocations: 288 / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3016, allocations: 0 / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3016, allocations: 0 / 0.5672 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.3021, allocations: 378.5 kB / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3021, allocations: 384 / 0.5676 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.3021, allocations: 15.98 kB / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3021, allocations: 4 kB / 0.5676 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3022, allocations: 7.938 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3022, allocations: 4.078 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3022, allocations: 8.016 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.3024, allocations: 216.2 kB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.3025, allocations: 11.94 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.3025, allocations: 3.938 kB / 0.5679 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.3026, allocations: 8 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3026, allocations: 7.984 kB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3026, allocations: 0 / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.3028, allocations: 160.3 kB / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3028, allocations: 0 / 0.568 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.303, allocations: 27.98 kB / 0.5681 GB, free: 13.13 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 (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.002289/0.3053, allocations: 1.124 MB / 0.5692 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.3055, allocations: 51.97 kB / 0.5692 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3055, allocations: 12 kB / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.444e-05/0.3056, allocations: 27.98 kB / 0.5692 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.3059, allocations: 33.44 kB / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.3079, allocations: 1.694 MB / 0.5709 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.713e-05/0.308, allocations: 96.59 kB / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.318e-05/0.3081, allocations: 24.95 kB / 0.571 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-05/0.3081, allocations: 39.42 kB / 0.5711 GB, free: 10.07 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3081, allocations: 0 / 0.5711 GB, free: 10.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.3313, allocations: 3.871 MB / 0.5749 GB, free: 6.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.11, allocations: 4.062 kB / 0.5749 GB, free: 6.234 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.914497265941463] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.322026229929179 11.337342078 11.036985709 Calling exit ...