Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.001451/0.001451, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.00205/0.00205, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.395/1.395, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2216/0.2216, allocations: 46.92 MB / 361.6 MB, free: 4.199 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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 75.89 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2875, allocations: 66.08 MB / 0.5616 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003105/0.2906, allocations: 1.737 MB / 0.5633 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.2924, allocations: 1.057 MB / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.2924, allocations: 7.938 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.2927, allocations: 35.77 kB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.293, allocations: 95.55 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.2932, allocations: 79.72 kB / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.2933, allocations: 103.7 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.2934, allocations: 5.828 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.2935, allocations: 55.72 kB / 0.5647 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.626e-05/0.2936, allocations: 27.84 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2936, allocations: 8 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-05/0.2937, allocations: 47.91 kB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.2938, allocations: 19.92 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.2938, allocations: 35.75 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.294, allocations: 115.5 kB / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2941, allocations: 0 / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2941, allocations: 0 / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.2941, allocations: 4 kB / 0.5649 GB, free: 0.8516 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.0005346/0.2946, allocations: 341.6 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2946, allocations: 12.03 kB / 0.5652 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.755e-05/0.2946, allocations: 4.188 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.2947, allocations: 34.69 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.2947, allocations: 12.84 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.295, allocations: 155.6 kB / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.295, allocations: 384 / 0.5654 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.295, allocations: 4.375 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.2952, allocations: 57.61 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.2952, allocations: 4 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2952, allocations: 0 / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2952, allocations: 0 / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.565e-05/0.2953, allocations: 31.91 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.2957, allocations: 252 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.2958, allocations: 50.69 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.2959, allocations: 24.84 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.2959, allocations: 0 / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.2961, allocations: 67.33 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2961, allocations: 0 / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005423/0.2966, allocations: 185.3 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.2967, allocations: 63.34 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.2968, allocations: 183.3 kB / 0.5663 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.2969, allocations: 29.7 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.2969, allocations: 96.14 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.297, allocations: 27.78 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.297, allocations: 21.72 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2972, allocations: 322.8 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.696e-05/0.2972, allocations: 24.36 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.2973, allocations: 41.7 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.2974, allocations: 61.64 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2974, allocations: 4 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001864/0.2976, allocations: 97.59 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2976, allocations: 4 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2976, allocations: 0 / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2976, allocations: 3.938 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.2977, allocations: 27.95 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2977, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.2978, allocations: 4 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.2978, allocations: 7.938 kB / 0.5671 GB, free: 14.43 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 9.512e-05/0.2979, allocations: 121.8 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.2979, allocations: 7.953 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.2982, allocations: 126.9 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2982, allocations: 0 / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2982, allocations: 0 / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2982, allocations: 4 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.2986, allocations: 366.3 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2986, allocations: 0 / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.2987, allocations: 11.98 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2987, allocations: 0 / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2987, allocations: 3.938 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2987, allocations: 4 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2987, allocations: 320 / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.2989, allocations: 208.3 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.2989, allocations: 11.91 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.299, allocations: 3.938 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.299, allocations: 11.98 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.2991, allocations: 192 / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.2991, allocations: 7.984 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.2992, allocations: 144.8 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2992, allocations: 0 / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.2995, allocations: 23.94 kB / 0.5681 GB, free: 13.3 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.002105/0.3016, allocations: 1.09 MB / 0.5691 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.3017, allocations: 55.97 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3017, allocations: 0 / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.817e-05/0.3018, allocations: 23.94 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.3021, allocations: 36.03 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.3039, allocations: 1.645 MB / 0.5709 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.3042, allocations: 0.7041 MB / 0.5715 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.177e-05/0.3043, allocations: 21.25 kB / 0.5716 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.621e-05/0.3043, allocations: 35.42 kB / 0.5716 GB, free: 9.715 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3043, allocations: 0 / 0.5716 GB, free: 9.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.3262, allocations: 3.58 MB / 0.5751 GB, free: 6.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.88, allocations: 29.05 kB / 0.5751 GB, free: 6.16 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.717662954994012] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.09942340303678 11.127374421 10.828157268 Calling exit ...