Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001232/0.001232, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001333/0.001333, allocations: 210.2 kB / 24.53 MB, free: 4.07 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.369/1.369, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2163/0.2163, allocations: 46.93 MB / 361.6 MB, free: 4.16 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 79.88 kB / 0.497 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2866, allocations: 66.08 MB / 0.5616 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003083/0.2897, allocations: 1.796 MB / 0.5633 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.2914, allocations: 1.061 MB / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.415e-05/0.2914, allocations: 0 / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.2918, allocations: 103.7 kB / 0.5645 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.2921, allocations: 123.5 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.2923, allocations: 91.66 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.2925, allocations: 143.6 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.2926, allocations: 11.56 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2927, allocations: 67.75 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.2928, allocations: 83.66 kB / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.2928, allocations: 8 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.2929, allocations: 59.98 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.327e-05/0.293, allocations: 39.84 kB / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.2931, allocations: 47.67 kB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.2933, allocations: 163.3 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2933, allocations: 0 / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2933, allocations: 4 kB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2933, allocations: 0 / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005294/0.2939, allocations: 401.1 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2939, allocations: 8.031 kB / 0.5656 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.026e-05/0.2939, allocations: 192 / 0.5656 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.2939, allocations: 38.75 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.294, allocations: 16.84 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.2943, allocations: 163.2 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2943, allocations: 4.375 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.2943, allocations: 8.375 kB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.2945, allocations: 77.53 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2945, allocations: 7.953 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.2945, allocations: 0 / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2945, allocations: 0 / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.2946, allocations: 39.91 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.295, allocations: 299.8 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.2952, allocations: 78.48 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.432e-05/0.2953, allocations: 24.84 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.87e-05/0.2953, allocations: 0 / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.2955, allocations: 79.38 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.2955, allocations: 0 / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008201/0.2963, allocations: 301.3 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.2963, allocations: 59.34 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.2966, allocations: 259.7 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.2966, allocations: 29.7 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.2967, allocations: 116.1 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.2967, allocations: 55.72 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.2968, allocations: 29.7 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2969, allocations: 334.8 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.297, allocations: 43.91 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.422e-05/0.2971, allocations: 51.95 kB / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.2973, allocations: 105.1 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2973, allocations: 0 / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002663/0.2975, allocations: 165.5 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2975, allocations: 4 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2976, allocations: 8 kB / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2976, allocations: 0 / 0.5679 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.2977, allocations: 27.92 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2977, allocations: 4 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.2977, allocations: 0 / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.2977, allocations: 11.98 kB / 0.568 GB, free: 13.45 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 (16): * Single equations (assignments): 16 * 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.2978, allocations: 137.8 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.2979, allocations: 23.89 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.2982, allocations: 183.1 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2982, allocations: 3.938 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2982, allocations: 4.109 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2982, allocations: 11.86 kB / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.2988, allocations: 471.1 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2988, allocations: 4.062 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.695e-05/0.2989, allocations: 16 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2989, allocations: 3.984 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2989, allocations: 15.92 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2989, allocations: 4 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2989, allocations: 0.5625 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.2992, allocations: 261.1 kB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.2993, allocations: 11.91 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.2993, allocations: 4 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.2994, allocations: 4 kB / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.2994, allocations: 11.97 kB / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.2994, allocations: 15.94 kB / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.2996, allocations: 189.5 kB / 0.5693 GB, free: 12.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2996, allocations: 0 / 0.5693 GB, free: 12.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.2999, allocations: 47.81 kB / 0.5693 GB, free: 11.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.00232/0.3022, allocations: 1.188 MB / 0.5705 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.3024, allocations: 111.5 kB / 0.5706 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3024, allocations: 0 / 0.5706 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.3025, allocations: 43.92 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.3029, allocations: 31.97 kB / 0.5707 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.3052, allocations: 2.01 MB / 0.5726 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.3056, allocations: 0.7279 MB / 0.5734 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.215e-05/0.3056, allocations: 25.41 kB / 0.5734 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.362e-05/0.3057, allocations: 59.41 kB / 0.5734 GB, free: 7.812 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3057, allocations: 0 / 0.5734 GB, free: 7.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.3288, allocations: 4.571 MB / 0.5779 GB, free: 3.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.98, allocations: 10.5 kB / 0.5779 GB, free: 3.293 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.809235983993858] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'd2_t_new.y'] 11.191135118016973 11.207673034 10.911205657 Calling exit ...