Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001458/0.001458, 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.001495/0.001495, 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.397/1.397, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2225/0.2225, allocations: 46.93 MB / 361.6 MB, free: 4.164 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.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 79.88 kB / 0.497 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3404, allocations: 66.07 MB / 0.5616 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003116/0.3436, allocations: 1.745 MB / 0.5633 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.3462, allocations: 1.742 MB / 0.565 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.3463, allocations: 7.938 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.3466, allocations: 35.78 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.3469, allocations: 99.53 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.3472, allocations: 75.73 kB / 0.5652 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.3474, allocations: 115.6 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3475, allocations: 5.969 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3476, allocations: 51.78 kB / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.3477, allocations: 43.83 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3478, allocations: 12 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.348, allocations: 107.9 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.348, allocations: 23.92 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.193e-05/0.3481, allocations: 39.72 kB / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.3484, allocations: 175.3 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3484, allocations: 0 / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3484, allocations: 0 / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3484, allocations: 0 / 0.5657 GB, free: 15.97 MB / 414.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.0006133/0.349, allocations: 345.5 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3491, allocations: 8.031 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.235e-05/0.3491, allocations: 4.188 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.3491, allocations: 38.73 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.3492, allocations: 12.84 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.3495, allocations: 154.2 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3495, allocations: 12.06 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.3495, allocations: 4 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.3497, allocations: 67.38 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3497, allocations: 4 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3497, allocations: 4 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3497, allocations: 0 / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/0.3498, allocations: 15.98 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.3502, allocations: 271.8 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.3503, allocations: 58.59 kB / 0.5667 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.3504, allocations: 20.86 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3504, allocations: 0 / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.3506, allocations: 67.39 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.3506, allocations: 0 / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000559/0.3511, allocations: 169.4 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.3512, allocations: 77.11 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3514, allocations: 170.4 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.3514, allocations: 29.7 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.3515, allocations: 100.1 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.3515, allocations: 35.67 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.3516, allocations: 17.72 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3517, allocations: 322.8 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.895e-05/0.3518, allocations: 23.98 kB / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/0.3518, allocations: 46.56 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.352, allocations: 61.77 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.352, allocations: 0 / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002167/0.3522, allocations: 97.94 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3522, allocations: 8 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3522, allocations: 0 / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3523, allocations: 64 / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.3524, allocations: 27.92 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3524, allocations: 7.938 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.3524, allocations: 4 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3524, allocations: 4 kB / 0.5679 GB, free: 13.5 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.0001188/0.3525, allocations: 119.2 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.3526, allocations: 7.953 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.3528, allocations: 114.3 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3528, allocations: 0 / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3528, allocations: 11.88 kB / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3528, allocations: 0 / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.3533, allocations: 366.4 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3533, allocations: 0 / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/0.3533, allocations: 15.92 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.3533, allocations: 3.938 kB / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3533, allocations: 192 / 0.5685 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3533, allocations: 4 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3533, allocations: 7.969 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.3536, allocations: 196.6 kB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.3536, allocations: 15.88 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.3536, allocations: 4 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.3537, allocations: 4 kB / 0.5687 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.3538, allocations: 7.922 kB / 0.5687 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.3538, allocations: 8 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.3539, allocations: 131.9 kB / 0.5689 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3539, allocations: 0 / 0.5689 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.3542, allocations: 47.86 kB / 0.5689 GB, free: 12.37 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.002414/0.3566, allocations: 1.181 MB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3568, allocations: 63.89 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3568, allocations: 4 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.473e-05/0.3569, allocations: 27.92 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.3573, allocations: 35.33 kB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.3591, allocations: 1.589 MB / 0.5718 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3594, allocations: 0.704 MB / 0.5724 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.949e-05/0.3595, allocations: 16.97 kB / 0.5725 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.3596, allocations: 35.42 kB / 0.5725 GB, free: 8.762 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3596, allocations: 192 / 0.5725 GB, free: 8.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.3847, allocations: 4.231 MB / 0.5766 GB, free: 4.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.96, allocations: 15.31 kB / 0.5766 GB, free: 4.539 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.826372145034838] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.171390803006943 11.200008012 10.846461349 Calling exit ...