Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.001254/0.001254, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001385/0.001385, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.365/1.365, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2207/0.2207, allocations: 46.94 MB / 361.6 MB, free: 3.938 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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 71.88 kB / 0.497 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3046, allocations: 66.08 MB / 0.5615 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.00301/0.3076, allocations: 1.697 MB / 0.5632 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.3092, allocations: 0.9787 MB / 0.5641 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.3092, allocations: 0 / 0.5641 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.3095, allocations: 31.78 kB / 0.5642 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.3098, allocations: 99.59 kB / 0.5642 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.31, allocations: 83.66 kB / 0.5643 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.3101, allocations: 107.6 kB / 0.5644 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.3102, allocations: 5.828 kB / 0.5644 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.123e-05/0.3103, allocations: 47.78 kB / 0.5645 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.738e-05/0.3104, allocations: 39.78 kB / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.3104, allocations: 4 kB / 0.5645 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.3105, allocations: 47.97 kB / 0.5646 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.3105, allocations: 19.92 kB / 0.5646 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.3106, allocations: 23.81 kB / 0.5646 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.3108, allocations: 123.4 kB / 0.5647 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3108, allocations: 0 / 0.5647 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3108, allocations: 3.938 kB / 0.5647 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3108, allocations: 0 / 0.5647 GB, free: 0.5859 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.000504/0.3113, allocations: 353.5 kB / 0.5651 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3113, allocations: 8.031 kB / 0.5651 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.452e-05/0.3113, allocations: 4.188 kB / 0.5651 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.3114, allocations: 34.73 kB / 0.5651 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.3114, allocations: 8.891 kB / 0.5651 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.3117, allocations: 153.3 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3117, allocations: 384 / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.3117, allocations: 10 kB / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.3118, allocations: 53.67 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3118, allocations: 0 / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3119, allocations: 4 kB / 0.5653 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3119, allocations: 8 kB / 0.5653 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.811e-05/0.3119, allocations: 27.92 kB / 0.5654 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.3123, allocations: 252 kB / 0.5656 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.3125, allocations: 58.61 kB / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.3125, allocations: 20.84 kB / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.3125, allocations: 0 / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.3127, allocations: 75.28 kB / 0.5658 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3127, allocations: 0 / 0.5658 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005392/0.3132, allocations: 185.4 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.3133, allocations: 55.41 kB / 0.566 GB, free: 15.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.3135, allocations: 206.3 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.3135, allocations: 33.7 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.3136, allocations: 96.14 kB / 0.5663 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.3136, allocations: 31.73 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.3136, allocations: 21.72 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3138, allocations: 322.8 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.3138, allocations: 23.92 kB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.3139, allocations: 41.7 kB / 0.5667 GB, free: 14.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.314, allocations: 65.77 kB / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.314, allocations: 0 / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001968/0.3142, allocations: 109.5 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.3142, allocations: 7.938 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3142, allocations: 0 / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3143, allocations: 4.188 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.3143, allocations: 15.98 kB / 0.5669 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3143, allocations: 3.938 kB / 0.5669 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.3144, allocations: 8.031 kB / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3144, allocations: 4 kB / 0.5669 GB, free: 14.12 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.0001059/0.3145, allocations: 131.1 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.3145, allocations: 15.84 kB / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.3148, allocations: 119 kB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3148, allocations: 4 kB / 0.5672 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3148, allocations: 0 / 0.5672 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3148, allocations: 0 / 0.5672 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.3153, allocations: 374.7 kB / 0.5676 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3153, allocations: 4.031 kB / 0.5676 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.3153, allocations: 12 kB / 0.5676 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3153, allocations: 0 / 0.5676 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3153, allocations: 7.984 kB / 0.5676 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3153, allocations: 0 / 0.5676 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3153, allocations: 3.984 kB / 0.5676 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.3156, allocations: 220.2 kB / 0.5678 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.3156, allocations: 11.91 kB / 0.5678 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.3156, allocations: 0 / 0.5678 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.3157, allocations: 11.98 kB / 0.5678 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.3157, allocations: 11.98 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3158, allocations: 4 kB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.3159, allocations: 148.2 kB / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3159, allocations: 0 / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.3161, allocations: 31.88 kB / 0.568 GB, free: 12.94 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 (9): * Single equations (assignments): 7 * 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.002293/0.3184, allocations: 1.131 MB / 0.5691 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.3186, allocations: 59.95 kB / 0.5692 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3186, allocations: 3.938 kB / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/0.3187, allocations: 27.94 kB / 0.5692 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3191, allocations: 30.22 kB / 0.5692 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.3211, allocations: 1.678 MB / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.701e-05/0.3212, allocations: 92.17 kB / 0.5709 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.04e-05/0.3212, allocations: 12.97 kB / 0.571 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/0.3213, allocations: 39.42 kB / 0.571 GB, free: 9.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3213, allocations: 0 / 0.571 GB, free: 9.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.3437, allocations: 3.809 MB / 0.5747 GB, free: 6.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.12, allocations: 7.938 kB / 0.5747 GB, free: 6.133 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.917883328045718] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.337510794983245 11.361147534 11.046080652 Calling exit ...