Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.001798/0.001798, 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.002022/0.002022, allocations: 207.6 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.407/1.407, allocations: 230.5 MB / 258.2 MB, free: 8 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.232/0.232, allocations: 46.92 MB / 361.6 MB, free: 4.148 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.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 79.88 kB / 0.497 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3317, allocations: 66.08 MB / 0.5616 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003195/0.3349, allocations: 1.741 MB / 0.5633 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3366, allocations: 1.045 MB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-05/0.3366, allocations: 0 / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.3369, allocations: 43.77 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.3372, allocations: 107.5 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.3374, allocations: 79.72 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.3375, allocations: 103.7 kB / 0.5646 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.969e-05/0.3376, allocations: 9.969 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3377, allocations: 51.7 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.577e-05/0.3378, allocations: 27.86 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.3378, allocations: 4 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-05/0.3379, allocations: 39.98 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.3379, allocations: 31.84 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.338, allocations: 35.75 kB / 0.5648 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.3382, allocations: 131.4 kB / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3382, allocations: 0 / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3382, allocations: 0 / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3382, allocations: 0 / 0.5649 GB, free: 0.7812 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.0005508/0.3388, allocations: 349.5 kB / 0.5653 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3388, allocations: 12.03 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.336e-05/0.3388, allocations: 4.125 kB / 0.5653 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.3388, allocations: 34.75 kB / 0.5653 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.3389, allocations: 12.83 kB / 0.5653 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.3392, allocations: 170.2 kB / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3392, allocations: 8.359 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.3392, allocations: 384 / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.3393, allocations: 61.61 kB / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3393, allocations: 0 / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.3393, allocations: 0 / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3393, allocations: 0 / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.983e-05/0.3394, allocations: 19.98 kB / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.3398, allocations: 267.9 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.34, allocations: 54.69 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.34, allocations: 20.84 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.34, allocations: 0 / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.3402, allocations: 71.33 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3402, allocations: 0 / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000534/0.3407, allocations: 185.3 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.3408, allocations: 55.41 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.341, allocations: 218.2 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.341, allocations: 25.7 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.3411, allocations: 100.1 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.3411, allocations: 35.77 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.3411, allocations: 21.72 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3413, allocations: 330.8 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.653e-05/0.3414, allocations: 19.98 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.4e-05/0.3414, allocations: 33.7 kB / 0.5669 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.3416, allocations: 65.64 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3416, allocations: 0 / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001809/0.3417, allocations: 97.59 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3418, allocations: 4 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3418, allocations: 4 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3418, allocations: 0 / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.3419, allocations: 23.92 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3419, allocations: 0 / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.3419, allocations: 4 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3419, allocations: 8.125 kB / 0.5671 GB, free: 14.3 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.0001068/0.342, allocations: 131.2 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.3421, allocations: 23.78 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.3423, allocations: 115 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3423, allocations: 0 / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3423, allocations: 0 / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3423, allocations: 0 / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.3428, allocations: 382.6 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3428, allocations: 0 / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.3428, allocations: 8 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3428, allocations: 0 / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3428, allocations: 4.312 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3428, allocations: 4 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3428, allocations: 4 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.3431, allocations: 212.2 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.3431, allocations: 11.94 kB / 0.568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.3431, allocations: 3.938 kB / 0.568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.3432, allocations: 4 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.3432, allocations: 15.97 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.3432, allocations: 0 / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.3434, allocations: 156.3 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3434, allocations: 0 / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.3436, allocations: 23.94 kB / 0.5682 GB, free: 13.13 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.002212/0.3459, allocations: 1.09 MB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.3461, allocations: 59.95 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3461, allocations: 0 / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.18e-05/0.3461, allocations: 23.94 kB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.3465, allocations: 27.97 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.3485, allocations: 1.694 MB / 0.571 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3488, allocations: 0.7002 MB / 0.5717 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.92e-05/0.3489, allocations: 20.58 kB / 0.5717 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.349, allocations: 43.42 kB / 0.5718 GB, free: 9.496 MB / 414.1 MB Notification: Performance of SimCode: time 1.203e-06/0.349, allocations: 0 / 0.5718 GB, free: 9.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.3729, allocations: 3.708 MB / 0.5754 GB, free: 5.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.93, allocations: 12 kB / 0.5754 GB, free: 5.828 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.81459162797546] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.14645764004672 11.168951229 10.827664314 Calling exit ...