Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.539/1.539, allocations: 230.6 MB / 258.3 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 46.94 MB / 361.7 MB, free: 4.305 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.91 kB / 0.497 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3254, allocations: 66.03 MB / 0.5615 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003301/0.3287, allocations: 1.741 MB / 0.5632 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.3306, allocations: 1.057 MB / 0.5642 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.3306, allocations: 4 kB / 0.5642 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.3309, allocations: 35.78 kB / 0.5643 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.3312, allocations: 99.59 kB / 0.5643 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.3314, allocations: 87.59 kB / 0.5644 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.3315, allocations: 99.7 kB / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.531e-05/0.3316, allocations: 9.812 kB / 0.5645 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-05/0.3317, allocations: 47.78 kB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.3318, allocations: 35.78 kB / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.3318, allocations: 8 kB / 0.5646 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.3319, allocations: 43.97 kB / 0.5647 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.332, allocations: 19.92 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.332, allocations: 39.69 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.3323, allocations: 123.4 kB / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3323, allocations: 0 / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3323, allocations: 0 / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3323, allocations: 0 / 0.5648 GB, free: 1.035 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.000535/0.3328, allocations: 349.5 kB / 0.5652 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3328, allocations: 16.03 kB / 0.5652 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.256e-05/0.3329, allocations: 192 / 0.5652 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.3329, allocations: 38.73 kB / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.3329, allocations: 12.83 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.3332, allocations: 170.2 kB / 0.5654 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3332, allocations: 4.125 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.3332, allocations: 4 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3334, allocations: 53.67 kB / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3334, allocations: 4 kB / 0.5655 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3334, allocations: 0 / 0.5655 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3334, allocations: 0 / 0.5655 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.342e-05/0.3335, allocations: 19.98 kB / 0.5655 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.3338, allocations: 255.9 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.334, allocations: 62.61 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.3341, allocations: 24.84 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.3341, allocations: 0 / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.3343, allocations: 67.39 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 6.201e-06/0.3343, allocations: 3.984 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005522/0.3348, allocations: 181.3 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.3349, allocations: 55.41 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.3351, allocations: 226.6 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3351, allocations: 25.7 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.3352, allocations: 108.1 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.3352, allocations: 23.78 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.3353, allocations: 25.72 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3354, allocations: 322.8 kB / 0.5668 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/0.3355, allocations: 23.98 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.3356, allocations: 37.7 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.3357, allocations: 53.72 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3357, allocations: 4.375 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002124/0.3359, allocations: 105.5 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3359, allocations: 4 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3359, allocations: 4 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3359, allocations: 0 / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.778e-05/0.336, allocations: 23.95 kB / 0.567 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.336, allocations: 7.938 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.3361, allocations: 4 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.3361, allocations: 8 kB / 0.5671 GB, free: 14.54 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.0001069/0.3362, allocations: 121.8 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.3362, allocations: 16.09 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.3365, allocations: 119.1 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3365, allocations: 3.938 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3365, allocations: 7.875 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3365, allocations: 8 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.337, allocations: 358.5 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.337, allocations: 0 / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.337, allocations: 15.92 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.337, allocations: 3.938 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.337, allocations: 0 / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.337, allocations: 4 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.337, allocations: 0 / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.3373, allocations: 204.3 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.991e-05/0.3373, allocations: 11.89 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.3373, allocations: 4 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.3374, allocations: 7.984 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.3374, allocations: 7.938 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.3374, allocations: 7.984 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.3376, allocations: 160.3 kB / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3376, allocations: 0 / 0.5681 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.3378, allocations: 23.94 kB / 0.5681 GB, free: 13.39 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.00225/0.3401, allocations: 1.093 MB / 0.5692 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.3403, allocations: 51.92 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3403, allocations: 0 / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.3404, allocations: 32.05 kB / 0.5693 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.3408, allocations: 28.23 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.3431, allocations: 1.699 MB / 0.5709 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.3436, allocations: 0.7119 MB / 0.5716 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.3436, allocations: 16.58 kB / 0.5716 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3437, allocations: 39.42 kB / 0.5717 GB, free: 9.762 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3437, allocations: 0 / 0.5717 GB, free: 9.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.3684, allocations: 3.716 MB / 0.5753 GB, free: 6.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.69, allocations: 3.938 kB / 0.5753 GB, free: 6.121 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.815915137995034] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.90980749001028 11.935122018 11.59855894 Calling exit ...