Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.001529/0.001529, 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.001844/0.001844, allocations: 205.5 kB / 24.51 MB, free: 3.945 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.45/1.45, allocations: 230.5 MB / 258.2 MB, free: 7.809 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.229/0.229, allocations: 46.95 MB / 361.6 MB, free: 3.93 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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 79.88 kB / 0.497 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3379, allocations: 66.08 MB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003323/0.3412, allocations: 1.667 MB / 0.5631 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.3431, allocations: 0.9537 MB / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.954e-05/0.3432, allocations: 4 kB / 0.5641 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.3435, allocations: 43.75 kB / 0.5641 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.3439, allocations: 103.6 kB / 0.5642 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.344, allocations: 83.66 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3442, allocations: 95.7 kB / 0.5644 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.3443, allocations: 4.219 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.3443, allocations: 43.8 kB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.432e-05/0.3444, allocations: 35.78 kB / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3444, allocations: 4 kB / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.836e-05/0.3445, allocations: 31.98 kB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.3446, allocations: 27.86 kB / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.3447, allocations: 39.72 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.3449, allocations: 129.3 kB / 0.5647 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3449, allocations: 0 / 0.5647 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3449, allocations: 0 / 0.5647 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3449, allocations: 0 / 0.5647 GB, free: 0.7617 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.0005397/0.3454, allocations: 369.3 kB / 0.565 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3455, allocations: 8.031 kB / 0.565 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.653e-05/0.3455, allocations: 4.188 kB / 0.565 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.3455, allocations: 34.73 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.3455, allocations: 8.891 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.3458, allocations: 171.2 kB / 0.5652 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3458, allocations: 384 / 0.5652 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3458, allocations: 4.375 kB / 0.5652 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.346, allocations: 49.61 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.346, allocations: 0 / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.346, allocations: 0 / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.346, allocations: 7.938 kB / 0.5653 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.3461, allocations: 15.98 kB / 0.5653 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.3463, allocations: 160.8 kB / 0.5655 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.3464, allocations: 46.62 kB / 0.5655 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.223e-05/0.3465, allocations: 24.84 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3465, allocations: 3.938 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.3467, allocations: 71.33 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3467, allocations: 0 / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002852/0.347, allocations: 105.5 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.347, allocations: 55.41 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.3473, allocations: 274.8 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3473, allocations: 29.64 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.3474, allocations: 120.1 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.3475, allocations: 19.83 kB / 0.5662 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.3475, allocations: 17.72 kB / 0.5662 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3476, allocations: 330.8 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.3477, allocations: 15.98 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.994e-05/0.3478, allocations: 29.64 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.3479, allocations: 49.95 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3479, allocations: 0 / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001661/0.348, allocations: 93.47 kB / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.348, allocations: 12.03 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3481, allocations: 0 / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3481, allocations: 0 / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.609e-05/0.3481, allocations: 11.98 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3481, allocations: 4 kB / 0.5667 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.3482, allocations: 3.953 kB / 0.5667 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.3482, allocations: 4 kB / 0.5667 GB, free: 14.44 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.0001175/0.3483, allocations: 133.8 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.3483, allocations: 15.84 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.3486, allocations: 110.7 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3486, allocations: 0 / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.3486, allocations: 0 / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3486, allocations: 0 / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.3487, allocations: 164.7 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3487, allocations: 0 / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.3488, allocations: 4 kB / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3488, allocations: 4 kB / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3488, allocations: 3.984 kB / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3488, allocations: 0 / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3488, allocations: 160 / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.349, allocations: 136.9 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.349, allocations: 15.89 kB / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.349, allocations: 192 / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.343e-05/0.3491, allocations: 11.94 kB / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.3491, allocations: 3.984 kB / 0.5673 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.3491, allocations: 8 kB / 0.5673 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.3493, allocations: 204.6 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3493, allocations: 0 / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.3495, allocations: 23.94 kB / 0.5675 GB, free: 13.53 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.00198/0.3515, allocations: 0.9752 MB / 0.5685 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.3517, allocations: 47.97 kB / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3517, allocations: 0 / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.213e-05/0.3517, allocations: 19.94 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.352, allocations: 40.62 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.3539, allocations: 1.698 MB / 0.5702 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.354, allocations: 109.8 kB / 0.5704 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.081e-05/0.354, allocations: 12.48 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.3541, allocations: 39.42 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3541, allocations: 0 / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.3774, allocations: 3.838 MB / 0.5742 GB, free: 6.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.03, allocations: 8.047 kB / 0.5742 GB, free: 6.809 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.969683228991926] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.237896122969687 11.254471844 10.906257168 Calling exit ...