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.001485/0.001485, 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.001598/0.001598, allocations: 211 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.41/1.41, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.2135/0.2135, allocations: 46.94 MB / 361.6 MB, free: 4.16 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.002145/0.002145, allocations: 80.2 kB / 0.497 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3045, allocations: 66.07 MB / 0.5616 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00311/0.3076, allocations: 1.753 MB / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3092, allocations: 1.045 MB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.3093, allocations: 0 / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.3096, allocations: 83.7 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.3099, allocations: 127.4 kB / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.3101, allocations: 79.72 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.3103, allocations: 119.6 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.3104, allocations: 5.969 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3105, allocations: 55.77 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.3106, allocations: 63.8 kB / 0.5648 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.3106, allocations: 4 kB / 0.5648 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.049e-05/0.3107, allocations: 43.98 kB / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.3108, allocations: 31.78 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.3108, allocations: 35.75 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.311, allocations: 131.4 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.311, allocations: 0 / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.311, allocations: 0 / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.311, allocations: 0 / 0.565 GB, free: 0.6797 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.0005106/0.3116, allocations: 349.5 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3116, allocations: 12.03 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.317e-05/0.3116, allocations: 192 / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.3116, allocations: 38.69 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.3117, allocations: 20.84 kB / 0.5654 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.3119, allocations: 162.2 kB / 0.5656 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3119, allocations: 4.375 kB / 0.5656 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.312, allocations: 4.375 kB / 0.5656 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3121, allocations: 57.61 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3121, allocations: 0 / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3121, allocations: 0 / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3121, allocations: 0 / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.273e-05/0.3122, allocations: 23.92 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.3126, allocations: 271.9 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.3127, allocations: 50.67 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.3128, allocations: 16.86 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.3128, allocations: 4 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.3129, allocations: 75.31 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3129, allocations: 0 / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005139/0.3135, allocations: 169.4 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.3135, allocations: 55.41 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.3137, allocations: 223.5 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3137, allocations: 29.7 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.3138, allocations: 108.1 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.3138, allocations: 35.77 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.3139, allocations: 21.72 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.314, allocations: 330.8 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.515e-05/0.3141, allocations: 15.98 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.3141, allocations: 42.02 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.3143, allocations: 61.64 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3143, allocations: 4 kB / 0.5671 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001817/0.3144, allocations: 101.6 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3145, allocations: 4 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3145, allocations: 0 / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3145, allocations: 4 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.3146, allocations: 19.92 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.3146, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.3146, allocations: 8 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3146, allocations: 3.938 kB / 0.5673 GB, free: 14.18 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.0001073/0.3147, allocations: 140.1 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.3148, allocations: 15.91 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.315, allocations: 115 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.315, allocations: 4 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.315, allocations: 0 / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.315, allocations: 0 / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.3154, allocations: 370.6 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3154, allocations: 4.031 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.3155, allocations: 11.94 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3155, allocations: 0 / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3155, allocations: 7.938 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3155, allocations: 80 / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3155, allocations: 3.984 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.3157, allocations: 216.2 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.3158, allocations: 11.92 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.3158, allocations: 7.938 kB / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.3158, allocations: 0 / 0.5681 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.3159, allocations: 11.98 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3159, allocations: 4 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.316, allocations: 169.1 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.316, allocations: 0 / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.3163, allocations: 31.88 kB / 0.5683 GB, free: 12.99 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.00209/0.3184, allocations: 1.083 MB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.3186, allocations: 55.95 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3186, allocations: 0 / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.275e-05/0.3186, allocations: 31.92 kB / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.319, allocations: 34.06 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.3208, allocations: 1.719 MB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3212, allocations: 0.708 MB / 0.5719 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.3212, allocations: 12.97 kB / 0.5719 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.3213, allocations: 47.41 kB / 0.5719 GB, free: 9.328 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3213, allocations: 0 / 0.5719 GB, free: 9.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.344, allocations: 3.758 MB / 0.5756 GB, free: 5.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.92, allocations: 10.03 kB / 0.5756 GB, free: 5.621 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.75349907396594] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.125488721008878 11.140601282 10.82650497 Calling exit ...