Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.001203/0.001203, 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.001356/0.001356, allocations: 209.4 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.436/1.436, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2214/0.2214, 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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 67.89 kB / 0.497 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3023, allocations: 66.09 MB / 0.5616 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003177/0.3055, allocations: 1.736 MB / 0.5633 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.3072, allocations: 1.053 MB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.3072, allocations: 0 / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.3075, allocations: 47.7 kB / 0.5643 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.3078, allocations: 91.55 kB / 0.5644 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.308, allocations: 71.73 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.3082, allocations: 107.7 kB / 0.5646 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.3083, allocations: 13.97 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.3084, allocations: 51.7 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.235e-05/0.3084, allocations: 27.86 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3085, allocations: 4 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.656e-05/0.3086, allocations: 47.91 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.3086, allocations: 23.92 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.3087, allocations: 35.73 kB / 0.5648 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.3089, allocations: 115.5 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3089, allocations: 0 / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3089, allocations: 0 / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.3089, allocations: 0 / 0.5649 GB, free: 0.8086 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.0005474/0.3095, allocations: 337.6 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3095, allocations: 15.97 kB / 0.5652 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.756e-05/0.3095, allocations: 4.172 kB / 0.5652 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.3095, allocations: 38.69 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.3096, allocations: 16.84 kB / 0.5653 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.3099, allocations: 143.4 kB / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.3099, allocations: 4.375 kB / 0.5654 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3099, allocations: 4.375 kB / 0.5654 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.31, allocations: 61.61 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3101, allocations: 8 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3101, allocations: 0 / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3101, allocations: 3.984 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.342e-05/0.3101, allocations: 23.92 kB / 0.5655 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.3105, allocations: 252 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.3107, allocations: 54.67 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.3107, allocations: 20.84 kB / 0.5658 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3108, allocations: 4 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.3109, allocations: 67.33 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3109, allocations: 3.938 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005453/0.3115, allocations: 185.3 kB / 0.5661 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.3115, allocations: 59.39 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.3117, allocations: 179.3 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3117, allocations: 25.7 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.3118, allocations: 100.1 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.3118, allocations: 27.78 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.3119, allocations: 21.72 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.312, allocations: 330.8 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.3121, allocations: 23.98 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/0.3121, allocations: 33.7 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.3122, allocations: 61.72 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3122, allocations: 4 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.3124, allocations: 97.58 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3125, allocations: 4 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3125, allocations: 8.031 kB / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3125, allocations: 0 / 0.567 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.3126, allocations: 27.86 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3126, allocations: 0 / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.3126, allocations: 4 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3126, allocations: 7.938 kB / 0.5671 GB, free: 14.38 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.0001118/0.3127, allocations: 121.8 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.3128, allocations: 11.94 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.313, allocations: 119 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.313, allocations: 0 / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.313, allocations: 4 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.313, allocations: 3.984 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.3135, allocations: 362.7 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3135, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.3135, allocations: 12 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3135, allocations: 4 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3135, allocations: 3.938 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3135, allocations: 4.031 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3135, allocations: 0 / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.3138, allocations: 204.3 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.3138, allocations: 11.91 kB / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.3138, allocations: 12.12 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.536e-05/0.3139, allocations: 0 / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.3139, allocations: 15.92 kB / 0.5679 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.3139, allocations: 4 kB / 0.5679 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3141, allocations: 140.9 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3141, allocations: 0 / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000255/0.3143, allocations: 23.94 kB / 0.5681 GB, free: 13.25 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.002189/0.3165, allocations: 1.092 MB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.3167, allocations: 47.98 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3167, allocations: 4.062 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.673e-05/0.3168, allocations: 27.92 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3171, allocations: 27.98 kB / 0.5692 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.319, allocations: 1.642 MB / 0.5708 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.3193, allocations: 0.7158 MB / 0.5715 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.046e-05/0.3194, allocations: 17.27 kB / 0.5716 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.3194, allocations: 31.42 kB / 0.5716 GB, free: 9.668 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3194, allocations: 0 / 0.5716 GB, free: 9.668 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.3417, allocations: 3.599 MB / 0.5751 GB, free: 6.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.84, allocations: 10.23 kB / 0.5751 GB, free: 6.109 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.721247409994248] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.0507046750281 11.06791876 10.755982017 Calling exit ...