Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.001242/0.001242, allocations: 109.1 kB / 21.22 MB, free: 0.7305 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.001565/0.001565, allocations: 208.2 kB / 24.53 MB, free: 4.066 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.402/1.402, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2203/0.2203, allocations: 46.93 MB / 361.6 MB, free: 4.164 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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 75.86 kB / 0.497 GB, free: 7.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2818, allocations: 66.09 MB / 0.5616 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.0032/0.285, allocations: 1.733 MB / 0.5633 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.2868, allocations: 1.049 MB / 0.5643 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.2868, allocations: 3.938 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.2871, allocations: 43.75 kB / 0.5643 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.2874, allocations: 99.53 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.2876, allocations: 75.73 kB / 0.5645 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.2878, allocations: 107.6 kB / 0.5646 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.2879, allocations: 5.969 kB / 0.5646 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.288, allocations: 63.7 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.167e-05/0.288, allocations: 23.86 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.2881, allocations: 4 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.872e-05/0.2881, allocations: 39.98 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.2882, allocations: 27.84 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.2883, allocations: 39.73 kB / 0.5648 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.2885, allocations: 119.5 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2885, allocations: 3.938 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2885, allocations: 0 / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2885, allocations: 0 / 0.5649 GB, free: 0.7852 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.0004878/0.289, allocations: 349.6 kB / 0.5652 GB, free: 424 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.289, allocations: 8.031 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.195e-05/0.289, allocations: 192 / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.289, allocations: 38.75 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.2891, allocations: 8.891 kB / 0.5653 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.2893, allocations: 158.9 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2893, allocations: 384 / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.2894, allocations: 8.375 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.2895, allocations: 65.59 kB / 0.5655 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2895, allocations: 0 / 0.5655 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2895, allocations: 4 kB / 0.5655 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2896, allocations: 0 / 0.5655 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.2896, allocations: 19.98 kB / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.29, allocations: 255.9 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.2902, allocations: 58.69 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.2902, allocations: 20.83 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.2903, allocations: 4 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.2904, allocations: 67.33 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.2904, allocations: 3.938 kB / 0.5659 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005172/0.2909, allocations: 173.4 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.291, allocations: 63.34 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.2912, allocations: 198.3 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.2912, allocations: 29.7 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.2913, allocations: 100.1 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.2913, allocations: 27.78 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.2913, allocations: 25.7 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2915, allocations: 330.8 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-05/0.2915, allocations: 19.98 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.598e-05/0.2916, allocations: 37.66 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.2917, allocations: 61.64 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2917, allocations: 0 / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001809/0.2919, allocations: 101.6 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2919, allocations: 4 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2919, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2919, allocations: 8.031 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.292, allocations: 19.94 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.292, allocations: 0 / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.2921, allocations: 7.984 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.2921, allocations: 3.938 kB / 0.5671 GB, free: 14.34 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.0001014/0.2922, allocations: 127.2 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.2922, allocations: 11.91 kB / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.2924, allocations: 119.1 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2925, allocations: 8 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2925, allocations: 0 / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.2925, allocations: 4.359 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.2929, allocations: 362.4 kB / 0.5677 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2929, allocations: 4 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.2929, allocations: 8 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2929, allocations: 0 / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2929, allocations: 7.938 kB / 0.5677 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2929, allocations: 8.031 kB / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2929, allocations: 0 / 0.5677 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.2932, allocations: 212.1 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.2932, allocations: 11.95 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.2932, allocations: 3.938 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.2933, allocations: 4 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.2933, allocations: 11.98 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.2933, allocations: 4 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.2935, allocations: 148.2 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2935, allocations: 0 / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.2937, allocations: 23.94 kB / 0.5681 GB, free: 13.19 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.002055/0.2958, allocations: 1.085 MB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.296, allocations: 51.97 kB / 0.5692 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.296, allocations: 8.062 kB / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.74e-05/0.296, allocations: 28.06 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.2964, allocations: 34.92 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.2981, allocations: 1.658 MB / 0.5709 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.2985, allocations: 0.708 MB / 0.5716 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.141e-05/0.2985, allocations: 16.97 kB / 0.5716 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.2986, allocations: 35.42 kB / 0.5717 GB, free: 9.59 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2986, allocations: 0 / 0.5717 GB, free: 9.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.3203, allocations: 3.659 MB / 0.5752 GB, free: 5.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.94, allocations: 0 / 0.5752 GB, free: 5.98 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.752716212999076] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.153413361986168 11.169572274 10.877908614 Calling exit ...