Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.001276/0.001276, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001451/0.001451, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.235/0.235, allocations: 46.94 MB / 361.7 MB, free: 4.27 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.Test89,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.89 kB / 0.497 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3068, allocations: 66.04 MB / 0.5615 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003465/0.3102, allocations: 1.741 MB / 0.5632 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.3129, allocations: 1.746 MB / 0.5649 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.313, allocations: 0 / 0.5649 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.3132, allocations: 39.77 kB / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.3136, allocations: 95.55 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.3138, allocations: 79.67 kB / 0.5651 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.314, allocations: 107.7 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.3141, allocations: 9.969 kB / 0.5652 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.3142, allocations: 59.72 kB / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.3144, allocations: 43.83 kB / 0.5653 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3144, allocations: 4 kB / 0.5653 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.3146, allocations: 111.9 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.3147, allocations: 19.86 kB / 0.5654 GB, free: 384 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.3148, allocations: 35.8 kB / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.3151, allocations: 171.3 kB / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3151, allocations: 0 / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3151, allocations: 0 / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3151, allocations: 0 / 0.5656 GB, free: 176 kB / 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.0005948/0.3157, allocations: 349.5 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3157, allocations: 15.97 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.453e-05/0.3157, allocations: 192 / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.3158, allocations: 34.73 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.3158, allocations: 12.84 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.3161, allocations: 150.5 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3161, allocations: 11.94 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.3161, allocations: 0 / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.3163, allocations: 75.38 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3163, allocations: 0 / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3163, allocations: 3.984 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3163, allocations: 3.938 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.3164, allocations: 19.98 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.3168, allocations: 263.9 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.317, allocations: 58.67 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.317, allocations: 24.73 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.317, allocations: 0 / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.3172, allocations: 67.38 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3172, allocations: 0 / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005386/0.3177, allocations: 177.3 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.3178, allocations: 85.09 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.318, allocations: 162.1 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.318, allocations: 25.7 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.3181, allocations: 96.14 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3181, allocations: 31.73 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.3181, allocations: 21.72 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3183, allocations: 326.8 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.862e-05/0.3184, allocations: 23.98 kB / 0.5676 GB, free: 13.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.206e-05/0.3185, allocations: 38.56 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.3186, allocations: 62.03 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3186, allocations: 0 / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002037/0.3188, allocations: 101.5 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3188, allocations: 8.062 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3188, allocations: 8 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3188, allocations: 3.938 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.3189, allocations: 19.98 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3189, allocations: 4.141 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.319, allocations: 4 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.319, allocations: 4 kB / 0.5678 GB, free: 13.7 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.0001018/0.3191, allocations: 113.8 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.3191, allocations: 15.94 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.3194, allocations: 110.3 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3194, allocations: 11.88 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3194, allocations: 0 / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.3194, allocations: 3.984 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.3199, allocations: 366.3 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3199, allocations: 3.984 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.3199, allocations: 8 kB / 0.5684 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3199, allocations: 4 kB / 0.5684 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3199, allocations: 8.031 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3199, allocations: 0 / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3199, allocations: 192 / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.3202, allocations: 200.2 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.3202, allocations: 19.88 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.3202, allocations: 4 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.3203, allocations: 4 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.3203, allocations: 7.984 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.3203, allocations: 8 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.3205, allocations: 119.2 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3205, allocations: 0 / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.3208, allocations: 51.86 kB / 0.5688 GB, free: 12.57 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.002379/0.3232, allocations: 1.193 MB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.3234, allocations: 63.91 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3234, allocations: 4.062 kB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.149e-05/0.3234, allocations: 23.98 kB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.3238, allocations: 23.98 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.3256, allocations: 1.601 MB / 0.5717 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.326, allocations: 0.7003 MB / 0.5724 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.976e-05/0.3261, allocations: 20.95 kB / 0.5724 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.3262, allocations: 35.36 kB / 0.5724 GB, free: 8.98 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3262, allocations: 0 / 0.5724 GB, free: 8.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.3527, allocations: 4.242 MB / 0.5766 GB, free: 4.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.72, allocations: 7.922 kB / 0.5766 GB, free: 4.785 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.620546512014698] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.938573734019883 11.95598166 11.637119422 Calling exit ...