Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.001256/0.001256, 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.00146/0.00146, 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.392/1.392, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2236/0.2236, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002517/0.002517, allocations: 79.86 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3282, allocations: 66.07 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003329/0.3315, allocations: 1.741 MB / 0.5633 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.3335, allocations: 1.049 MB / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.3336, allocations: 7.938 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.3339, allocations: 35.77 kB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.3343, allocations: 95.55 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.3345, allocations: 83.66 kB / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.3347, allocations: 107.8 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3349, allocations: 9.953 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.335, allocations: 55.66 kB / 0.5647 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.923e-05/0.3351, allocations: 31.8 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3351, allocations: 4 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3352, allocations: 43.97 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.3353, allocations: 19.92 kB / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.957e-05/0.3353, allocations: 35.75 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.3356, allocations: 119.5 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3356, allocations: 0 / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3356, allocations: 3.938 kB / 0.5649 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.3356, allocations: 7.938 kB / 0.5649 GB, free: 0.832 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.0007562/0.3363, allocations: 345.6 kB / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3364, allocations: 12.02 kB / 0.5653 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.4e-05/0.3364, allocations: 4.188 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.3364, allocations: 34.75 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.3365, allocations: 8.891 kB / 0.5653 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.3368, allocations: 151 kB / 0.5655 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3368, allocations: 8.375 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.3368, allocations: 4.375 kB / 0.5655 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.337, allocations: 57.55 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.337, allocations: 0 / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.337, allocations: 12 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.337, allocations: 0 / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.3371, allocations: 15.98 kB / 0.5655 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.3375, allocations: 256 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.3377, allocations: 66.59 kB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.3378, allocations: 20.84 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3378, allocations: 4 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.338, allocations: 59.39 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.338, allocations: 4 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005506/0.3385, allocations: 181.3 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.3386, allocations: 63.34 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.3388, allocations: 198.3 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3388, allocations: 25.7 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.3389, allocations: 104.1 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.3389, allocations: 23.8 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.3389, allocations: 21.7 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3391, allocations: 334.8 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.3391, allocations: 16 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.3392, allocations: 41.58 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3393, allocations: 61.7 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3393, allocations: 0 / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001846/0.3395, allocations: 101.5 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3395, allocations: 16.02 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3395, allocations: 0 / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3395, allocations: 0 / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.74e-05/0.3396, allocations: 16 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.3396, allocations: 4 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.3397, allocations: 0 / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3397, allocations: 11.92 kB / 0.5671 GB, free: 14.39 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.0001094/0.3398, allocations: 129.5 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.3398, allocations: 15.91 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.3401, allocations: 111.1 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3401, allocations: 0 / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3401, allocations: 0 / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3401, allocations: 0 / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.3405, allocations: 370.9 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3405, allocations: 0 / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.3406, allocations: 16 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3406, allocations: 8.031 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3406, allocations: 3.938 kB / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3406, allocations: 0 / 0.5677 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3406, allocations: 4.016 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.3408, allocations: 200.3 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.3409, allocations: 19.88 kB / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.3409, allocations: 7.938 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.341, allocations: 4 kB / 0.568 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.341, allocations: 7.984 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.341, allocations: 8 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.3411, allocations: 144.2 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3411, allocations: 0 / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.3414, allocations: 23.94 kB / 0.5681 GB, free: 13.25 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.002196/0.3436, allocations: 1.09 MB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.3438, allocations: 55.92 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3438, allocations: 0 / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.3439, allocations: 23.98 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.3442, allocations: 27.08 kB / 0.5693 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.3463, allocations: 1.662 MB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.3467, allocations: 0.7157 MB / 0.5716 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.3467, allocations: 12.97 kB / 0.5716 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.41e-05/0.3468, allocations: 35.42 kB / 0.5717 GB, free: 9.645 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3468, allocations: 0 / 0.5717 GB, free: 9.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.3697, allocations: 3.665 MB / 0.5752 GB, free: 6.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.94, allocations: 4.062 kB / 0.5752 GB, free: 6.027 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.761874357005581] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.149890251050238 11.164717471 10.825996606 Calling exit ...