Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001222/0.001222, 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.001321/0.001321, allocations: 209.5 kB / 24.52 MB, free: 3.918 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.413/1.413, allocations: 230.5 MB / 258.2 MB, free: 7.754 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.2267/0.2267, allocations: 46.95 MB / 361.6 MB, free: 3.914 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.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 79.81 kB / 0.497 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3063, allocations: 66.07 MB / 0.5615 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003144/0.3094, allocations: 1.671 MB / 0.5631 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.3111, allocations: 0.9475 MB / 0.5641 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.3112, allocations: 4 kB / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.3115, allocations: 47.77 kB / 0.5641 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.3118, allocations: 99.59 kB / 0.5642 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.312, allocations: 83.66 kB / 0.5643 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.3122, allocations: 95.7 kB / 0.5644 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.3122, allocations: 8.219 kB / 0.5644 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-05/0.3123, allocations: 39.8 kB / 0.5644 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.785e-05/0.3124, allocations: 35.78 kB / 0.5644 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.3124, allocations: 4 kB / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3125, allocations: 35.98 kB / 0.5645 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-05/0.3126, allocations: 27.86 kB / 0.5645 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.361e-05/0.3126, allocations: 31.78 kB / 0.5645 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3129, allocations: 125.3 kB / 0.5647 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3129, allocations: 0 / 0.5647 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3129, allocations: 0 / 0.5647 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.3129, allocations: 0 / 0.5647 GB, free: 0.7422 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000593/0.3135, allocations: 377.2 kB / 0.565 GB, free: 352 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3135, allocations: 12.03 kB / 0.565 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.066e-05/0.3135, allocations: 4.188 kB / 0.565 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.3136, allocations: 30.75 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.3136, allocations: 16.88 kB / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.3139, allocations: 155.2 kB / 0.5652 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3139, allocations: 4.375 kB / 0.5652 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.3139, allocations: 8.359 kB / 0.5652 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.3141, allocations: 53.61 kB / 0.5653 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.3141, allocations: 0 / 0.5653 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.3141, allocations: 0 / 0.5653 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3141, allocations: 8 kB / 0.5653 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.814e-05/0.3142, allocations: 20.03 kB / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.3144, allocations: 160.8 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.3146, allocations: 46.62 kB / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.879e-05/0.3147, allocations: 20.84 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.3147, allocations: 3.938 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.3148, allocations: 67.39 kB / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.3148, allocations: 0 / 0.5656 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003255/0.3152, allocations: 109.5 kB / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.3152, allocations: 55.41 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.3155, allocations: 270.8 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3155, allocations: 33.7 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.3156, allocations: 108.1 kB / 0.5662 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.3156, allocations: 23.83 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.3157, allocations: 21.66 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3158, allocations: 330.8 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/0.3159, allocations: 15.98 kB / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.316, allocations: 29.69 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.3161, allocations: 57.47 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3161, allocations: 0 / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001638/0.3162, allocations: 89.47 kB / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3162, allocations: 8 kB / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3163, allocations: 0 / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3163, allocations: 0 / 0.5667 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.3163, allocations: 15.98 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3164, allocations: 4 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.3164, allocations: 3.953 kB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3164, allocations: 8.344 kB / 0.5667 GB, free: 14.4 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 (7): * Single equations (assignments): 7 * 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.0001267/0.3165, allocations: 135.1 kB / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.3166, allocations: 15.84 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.3168, allocations: 106.7 kB / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3168, allocations: 0 / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3168, allocations: 0 / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3168, allocations: 0 / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.317, allocations: 172.6 kB / 0.5671 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.317, allocations: 0 / 0.5671 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.317, allocations: 4 kB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.317, allocations: 8 kB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.317, allocations: 3.984 kB / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.317, allocations: 0 / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.317, allocations: 0 / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.3172, allocations: 132.9 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.3173, allocations: 11.91 kB / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.3173, allocations: 0 / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.3173, allocations: 4 kB / 0.5673 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.3174, allocations: 7.969 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.3174, allocations: 4 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.3176, allocations: 212.6 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3176, allocations: 0 / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.3178, allocations: 23.94 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002021/0.3198, allocations: 0.9781 MB / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.32, allocations: 47.91 kB / 0.5685 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.32, allocations: 0 / 0.5685 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.134e-05/0.3201, allocations: 16 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.3203, allocations: 35.97 kB / 0.5686 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.3222, allocations: 1.698 MB / 0.5703 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.869e-05/0.3223, allocations: 105.7 kB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.546e-05/0.3224, allocations: 12.73 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.3225, allocations: 35.42 kB / 0.5704 GB, free: 10.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3225, allocations: 0 / 0.5704 GB, free: 10.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.3468, allocations: 3.841 MB / 0.5741 GB, free: 6.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.05, allocations: 11.17 kB / 0.5742 GB, free: 6.785 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.91187048505526] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.260857439949177 11.275407168 10.959659429 Calling exit ...