Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001864/0.001864, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002369/0.002369, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.51/1.51, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2281/0.2281, allocations: 46.97 MB / 361.7 MB, free: 4.02 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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003141/0.003141, allocations: 67.89 kB / 0.497 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4183, allocations: 66.01 MB / 0.5614 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00416/0.4224, allocations: 1.71 MB / 0.5631 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.4247, allocations: 0.9715 MB / 0.564 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.4248, allocations: 3.938 kB / 0.564 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.4252, allocations: 47.83 kB / 0.5641 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.4255, allocations: 107.5 kB / 0.5642 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.4258, allocations: 75.67 kB / 0.5643 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.426, allocations: 103.7 kB / 0.5644 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.4261, allocations: 17.75 kB / 0.5644 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.4262, allocations: 43.78 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/0.4263, allocations: 35.73 kB / 0.5644 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.4263, allocations: 4 kB / 0.5645 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.4264, allocations: 43.97 kB / 0.5645 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/0.4265, allocations: 31.91 kB / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.4265, allocations: 31.75 kB / 0.5646 GB, free: 1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.4268, allocations: 143.4 kB / 0.5647 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4268, allocations: 3.938 kB / 0.5647 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4268, allocations: 0 / 0.5647 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.4268, allocations: 0 / 0.5647 GB, free: 0.8555 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.0006477/0.4275, allocations: 377.2 kB / 0.5651 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.4275, allocations: 12.02 kB / 0.5651 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.292e-05/0.4275, allocations: 192 / 0.5651 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.4276, allocations: 38.75 kB / 0.5651 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.4276, allocations: 12.84 kB / 0.5651 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.428, allocations: 159.3 kB / 0.5653 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.428, allocations: 8.125 kB / 0.5653 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.428, allocations: 4 kB / 0.5653 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.4282, allocations: 53.67 kB / 0.5653 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4282, allocations: 0 / 0.5653 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.4282, allocations: 3.984 kB / 0.5653 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.4282, allocations: 4 kB / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.974e-05/0.4283, allocations: 19.92 kB / 0.5654 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.4288, allocations: 271.9 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.429, allocations: 54.67 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.689e-05/0.4291, allocations: 28.84 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.4291, allocations: 3.938 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.4293, allocations: 71.39 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.4293, allocations: 0 / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00068/0.43, allocations: 181.3 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.43, allocations: 59.41 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.4304, allocations: 286.7 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.4304, allocations: 29.64 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.903e-05/0.4305, allocations: 120.1 kB / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.4305, allocations: 27.78 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.4306, allocations: 25.7 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4307, allocations: 326.8 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/0.4308, allocations: 23.98 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.4309, allocations: 37.64 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.431, allocations: 65.7 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.431, allocations: 0 / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002153/0.4312, allocations: 117.5 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4312, allocations: 8.031 kB / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4312, allocations: 0 / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4313, allocations: 0 / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.4314, allocations: 16 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4314, allocations: 3.938 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.4314, allocations: 7.984 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4314, allocations: 7.984 kB / 0.5671 GB, free: 14.23 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.0001376/0.4316, allocations: 133.8 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.4316, allocations: 15.91 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.4319, allocations: 127 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4319, allocations: 0 / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4319, allocations: 3.938 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4319, allocations: 0 / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/0.4324, allocations: 382.4 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4325, allocations: 0 / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.4325, allocations: 11.94 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.4325, allocations: 3.938 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.4325, allocations: 11.98 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4325, allocations: 0 / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4325, allocations: 4.031 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.4328, allocations: 212.2 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.4328, allocations: 15.84 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.4328, allocations: 8.375 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.4329, allocations: 4.359 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.433, allocations: 8 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.433, allocations: 7.984 kB / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.4332, allocations: 208.5 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4332, allocations: 3.938 kB / 0.5682 GB, free: 12.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.4335, allocations: 35.88 kB / 0.5682 GB, free: 12.96 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 (9): * Single equations (assignments): 7 * 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.002406/0.4359, allocations: 1.138 MB / 0.5693 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.4361, allocations: 63.91 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4361, allocations: 4.062 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.562e-05/0.4362, allocations: 31.92 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.4366, allocations: 31.47 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.4389, allocations: 1.843 MB / 0.5712 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.4391, allocations: 109.1 kB / 0.5713 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.191e-05/0.4391, allocations: 13.05 kB / 0.5713 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.4392, allocations: 47.34 kB / 0.5714 GB, free: 9.773 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4392, allocations: 0 / 0.5714 GB, free: 9.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.4652, allocations: 4.148 MB / 0.5754 GB, free: 5.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.16, allocations: 11.19 kB / 0.5755 GB, free: 5.695 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.208289097994566] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.387947284965776 12.416814259 11.984472662 Calling exit ...