Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.001272/0.001272, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001499/0.001499, allocations: 209.4 kB / 24.51 MB, free: 3.941 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.418/1.418, allocations: 230.5 MB / 258.2 MB, free: 7.805 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.2205/0.2205, allocations: 46.95 MB / 361.6 MB, free: 3.945 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.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 75.88 kB / 0.497 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3158, allocations: 66.09 MB / 0.5615 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003006/0.3188, allocations: 1.709 MB / 0.5632 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.3204, allocations: 0.9632 MB / 0.5641 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.3204, allocations: 3.938 kB / 0.5641 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.3207, allocations: 87.69 kB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.321, allocations: 119.5 kB / 0.5643 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.3212, allocations: 75.73 kB / 0.5644 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.3214, allocations: 119.6 kB / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.3215, allocations: 9.828 kB / 0.5645 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.3216, allocations: 59.75 kB / 0.5646 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3217, allocations: 63.75 kB / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3217, allocations: 4 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.329e-05/0.3218, allocations: 43.98 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.3219, allocations: 23.86 kB / 0.5647 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.3219, allocations: 27.8 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.3221, allocations: 127.4 kB / 0.5648 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3221, allocations: 0 / 0.5648 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3221, allocations: 4 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.341e-06/0.3221, allocations: 0 / 0.5648 GB, free: 0.6016 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.0005454/0.3227, allocations: 361.5 kB / 0.5652 GB, free: 224 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3227, allocations: 8.031 kB / 0.5652 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.076e-05/0.3227, allocations: 4.188 kB / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.3228, allocations: 34.75 kB / 0.5652 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.3228, allocations: 12.84 kB / 0.5652 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.3231, allocations: 164.5 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3231, allocations: 384 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.3231, allocations: 6.062 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3232, allocations: 57.67 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3233, allocations: 0 / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3233, allocations: 4 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.3233, allocations: 0 / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.3233, allocations: 31.91 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.3237, allocations: 263.9 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.3239, allocations: 62.61 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.324, allocations: 16.86 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.324, allocations: 4 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.3241, allocations: 75.31 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3241, allocations: 0 / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005461/0.3247, allocations: 177.3 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.3247, allocations: 59.41 kB / 0.5661 GB, free: 15.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.325, allocations: 223.5 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.325, allocations: 25.7 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.325, allocations: 116.1 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.3251, allocations: 23.8 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.3251, allocations: 21.7 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3253, allocations: 330.8 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.3253, allocations: 23.98 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.3254, allocations: 37.7 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.3255, allocations: 65.69 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3255, allocations: 0 / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001982/0.3257, allocations: 109.5 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3257, allocations: 4 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3257, allocations: 0 / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3257, allocations: 8.406 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.3258, allocations: 19.92 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3258, allocations: 0 / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.3259, allocations: 8 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3259, allocations: 0 / 0.5671 GB, free: 14.07 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.0001087/0.326, allocations: 135.1 kB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.326, allocations: 19.84 kB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.3263, allocations: 127.1 kB / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3263, allocations: 4 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3263, allocations: 3.984 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3263, allocations: 4 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.3268, allocations: 378.3 kB / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3268, allocations: 0 / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.3268, allocations: 8 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3268, allocations: 4 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3268, allocations: 0 / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3268, allocations: 3.984 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3268, allocations: 4 kB / 0.5678 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.3271, allocations: 216.5 kB / 0.568 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.3271, allocations: 16.03 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.3271, allocations: 3.938 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.3272, allocations: 11.98 kB / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.3272, allocations: 3.984 kB / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3272, allocations: 11.92 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.3274, allocations: 173.1 kB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3274, allocations: 0 / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.3276, allocations: 27.88 kB / 0.5682 GB, free: 12.85 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.002195/0.3298, allocations: 1.124 MB / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.33, allocations: 67.91 kB / 0.5694 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.33, allocations: 0 / 0.5694 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.3301, allocations: 23.98 kB / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.3304, allocations: 35.86 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.3323, allocations: 1.726 MB / 0.5711 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.363e-05/0.3324, allocations: 104.6 kB / 0.5712 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.866e-05/0.3324, allocations: 20.97 kB / 0.5712 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/0.3325, allocations: 43.41 kB / 0.5713 GB, free: 9.754 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3325, allocations: 0 / 0.5713 GB, free: 9.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.3544, allocations: 3.919 MB / 0.5751 GB, free: 5.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.1, allocations: 8 kB / 0.5751 GB, free: 5.863 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.946902627008967] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.314344590064138 11.338270339 11.011452043 Calling exit ...