Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.001226/0.001226, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001445/0.001445, allocations: 220.5 kB / 24.53 MB, free: 4.008 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.38/1.38, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2429/0.2429, allocations: 46.94 MB / 361.6 MB, free: 4.191 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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 75.88 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3143, allocations: 66.08 MB / 0.5616 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.0031/0.3174, allocations: 1.702 MB / 0.5632 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.3191, allocations: 1.025 MB / 0.5642 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.3192, allocations: 0 / 0.5642 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.3195, allocations: 59.73 kB / 0.5643 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.3198, allocations: 107.5 kB / 0.5644 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.3199, allocations: 79.72 kB / 0.5645 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.3201, allocations: 107.6 kB / 0.5646 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.3202, allocations: 240 / 0.5646 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3203, allocations: 59.7 kB / 0.5646 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3204, allocations: 59.75 kB / 0.5647 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.3204, allocations: 4 kB / 0.5647 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.396e-05/0.3205, allocations: 24 kB / 0.5647 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.3205, allocations: 19.92 kB / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.3206, allocations: 35.73 kB / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3208, allocations: 109.3 kB / 0.5649 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3208, allocations: 0 / 0.5649 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3208, allocations: 0 / 0.5649 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3208, allocations: 0 / 0.5649 GB, free: 0.7266 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.0005009/0.3213, allocations: 345.6 kB / 0.5652 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3213, allocations: 8.031 kB / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.099e-05/0.3213, allocations: 192 / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.038e-05/0.3214, allocations: 30.75 kB / 0.5652 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.3214, allocations: 16.84 kB / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.3216, allocations: 147 kB / 0.5654 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3217, allocations: 8.312 kB / 0.5654 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.3217, allocations: 4.359 kB / 0.5654 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3218, allocations: 53.62 kB / 0.5654 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3218, allocations: 0 / 0.5654 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.3218, allocations: 0 / 0.5654 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3218, allocations: 0 / 0.5654 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.3219, allocations: 15.98 kB / 0.5655 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.3221, allocations: 152.7 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.3223, allocations: 58.53 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.3223, allocations: 24.84 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3223, allocations: 3.938 kB / 0.5657 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.3225, allocations: 67.39 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3225, allocations: 7.938 kB / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000279/0.3228, allocations: 89.62 kB / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.3228, allocations: 55.34 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.323, allocations: 206.3 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.323, allocations: 25.7 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.3231, allocations: 100.1 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.3232, allocations: 19.84 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.3232, allocations: 17.72 kB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3234, allocations: 322.8 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.976e-05/0.3234, allocations: 15.98 kB / 0.5666 GB, free: 14.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.3235, allocations: 29.7 kB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.626e-05/0.3236, allocations: 41.72 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3236, allocations: 0 / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000168/0.3237, allocations: 89.45 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3237, allocations: 11.94 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3237, allocations: 0 / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3238, allocations: 0 / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.3238, allocations: 12 kB / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3238, allocations: 7.969 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.146e-05/0.3239, allocations: 4 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3239, allocations: 7.984 kB / 0.5668 GB, free: 14.56 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.0001071/0.324, allocations: 121.7 kB / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.324, allocations: 11.89 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.3242, allocations: 90.75 kB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3242, allocations: 0 / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3242, allocations: 0 / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3242, allocations: 4 kB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.3244, allocations: 165 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3244, allocations: 4 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.3244, allocations: 7.938 kB / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.3244, allocations: 7.984 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3244, allocations: 4 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3244, allocations: 0 / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3244, allocations: 0 / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.3246, allocations: 113 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.3247, allocations: 7.953 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.3247, allocations: 7.938 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.328e-05/0.3247, allocations: 4 kB / 0.5673 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.3247, allocations: 3.984 kB / 0.5673 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3248, allocations: 4 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.3249, allocations: 148.2 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3249, allocations: 0 / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.3251, allocations: 15.94 kB / 0.5675 GB, free: 13.77 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 (5): * Single equations (assignments): 3 * 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.001939/0.327, allocations: 0.9445 MB / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.3272, allocations: 39.92 kB / 0.5684 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3272, allocations: 0 / 0.5684 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/0.3272, allocations: 23.92 kB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.3275, allocations: 30.64 kB / 0.5685 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.3293, allocations: 1.514 MB / 0.5699 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.3296, allocations: 0.704 MB / 0.5706 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.611e-05/0.3297, allocations: 8.484 kB / 0.5706 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.3297, allocations: 39.42 kB / 0.5707 GB, free: 10.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3297, allocations: 0 / 0.5707 GB, free: 10.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.3557, allocations: 3.335 MB / 0.5739 GB, free: 7.184 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.9, allocations: 6.344 kB / 0.5739 GB, free: 7.18 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.73094439401757] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.11367028800305 11.141018765 10.815519802 Calling exit ...