Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.001352/0.001352, 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.001579/0.001579, 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.408/1.408, 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.2189/0.2189, 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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 75.88 kB / 0.497 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3055, allocations: 66.08 MB / 0.5616 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003128/0.3086, allocations: 1.739 MB / 0.5633 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3104, allocations: 1.049 MB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.4e-05/0.3105, allocations: 3.938 kB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.3107, allocations: 31.84 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.311, allocations: 103.5 kB / 0.5644 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.3112, allocations: 83.66 kB / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.3114, allocations: 99.75 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.753e-05/0.3115, allocations: 13.97 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.3116, allocations: 51.7 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.107e-05/0.3117, allocations: 31.8 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3117, allocations: 4 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.974e-05/0.3118, allocations: 43.98 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.3119, allocations: 19.91 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.3119, allocations: 31.75 kB / 0.5648 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.3121, allocations: 123.4 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3121, allocations: 0 / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3121, allocations: 0 / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3121, allocations: 0 / 0.5649 GB, free: 0.832 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.0004974/0.3126, allocations: 345.6 kB / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3127, allocations: 12.03 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.128e-05/0.3127, allocations: 4.125 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.3127, allocations: 34.75 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.3128, allocations: 12.84 kB / 0.5653 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.313, allocations: 151.6 kB / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.313, allocations: 8.375 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.313, allocations: 4.375 kB / 0.5654 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.3132, allocations: 61.55 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3132, allocations: 0 / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3132, allocations: 8 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.3132, allocations: 0 / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.929e-05/0.3133, allocations: 15.98 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.3136, allocations: 256 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3138, allocations: 66.59 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.3139, allocations: 16.86 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3139, allocations: 0 / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.314, allocations: 67.39 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.314, allocations: 0 / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005166/0.3145, allocations: 181.3 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.3146, allocations: 55.41 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3148, allocations: 183.3 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3148, allocations: 25.7 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.3148, allocations: 104.1 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.3149, allocations: 23.8 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.3149, allocations: 29.7 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.315, allocations: 326.8 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.334e-05/0.3151, allocations: 20 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.3152, allocations: 37.64 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.3153, allocations: 61.77 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3153, allocations: 0 / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001848/0.3155, allocations: 105.5 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3155, allocations: 6.375 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3155, allocations: 8.016 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3155, allocations: 7.938 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.237e-05/0.3156, allocations: 12 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3156, allocations: 3.938 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.3156, allocations: 4 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.3156, allocations: 3.938 kB / 0.5671 GB, free: 14.41 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.0001058/0.3157, allocations: 129.8 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.3158, allocations: 11.95 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.316, allocations: 119 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.316, allocations: 0 / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.316, allocations: 0 / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.316, allocations: 0 / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.3164, allocations: 366.7 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3164, allocations: 0 / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.3165, allocations: 15.98 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3165, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3165, allocations: 11.94 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3165, allocations: 4.031 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3165, allocations: 0 / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.3167, allocations: 196.3 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.3167, allocations: 11.91 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3168, allocations: 15.92 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.3168, allocations: 0 / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.3169, allocations: 11.98 kB / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3169, allocations: 4 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.317, allocations: 136.9 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.317, allocations: 0 / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.3173, allocations: 27.92 kB / 0.5681 GB, free: 13.27 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.00219/0.3195, allocations: 1.08 MB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.3197, allocations: 59.89 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3197, allocations: 4.062 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.417e-05/0.3198, allocations: 20 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.3201, allocations: 27.97 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.3222, allocations: 1.649 MB / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.3226, allocations: 0.7041 MB / 0.5715 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.298e-05/0.3226, allocations: 21.27 kB / 0.5716 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.3227, allocations: 35.42 kB / 0.5716 GB, free: 9.695 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3227, allocations: 3.938 kB / 0.5716 GB, free: 9.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.346, allocations: 3.594 MB / 0.5751 GB, free: 6.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.97, allocations: 8.047 kB / 0.5751 GB, free: 6.137 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.76699416700285] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.177782054001 11.193215917 10.878040211 Calling exit ...