Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.00132/0.00132, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001478/0.001478, allocations: 214 kB / 24.51 MB, free: 3.918 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 44.94 MB / 359.6 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 67.89 kB / 0.4939 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3354, allocations: 65.47 MB / 0.5578 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00339/0.3388, allocations: 1.706 MB / 0.5595 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.3405, allocations: 0.9715 MB / 0.5604 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.3406, allocations: 3.938 kB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.3409, allocations: 55.81 kB / 0.5605 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.3412, allocations: 103.5 kB / 0.5606 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.3414, allocations: 83.66 kB / 0.5606 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.3416, allocations: 103.7 kB / 0.5607 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.743e-05/0.3417, allocations: 5.828 kB / 0.5607 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.767e-05/0.3418, allocations: 39.8 kB / 0.5608 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.742e-05/0.3419, allocations: 43.77 kB / 0.5608 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3419, allocations: 4 kB / 0.5608 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.294e-05/0.342, allocations: 43.98 kB / 0.5609 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.342, allocations: 31.84 kB / 0.5609 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.3421, allocations: 27.75 kB / 0.5609 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.3423, allocations: 139.4 kB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3423, allocations: 0 / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3423, allocations: 0 / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3423, allocations: 0 / 0.5611 GB, free: 4.168 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.0005865/0.3429, allocations: 386.9 kB / 0.5614 GB, free: 3.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.343, allocations: 8.031 kB / 0.5614 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.762e-05/0.343, allocations: 4.188 kB / 0.5614 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.343, allocations: 34.75 kB / 0.5615 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.3431, allocations: 12.84 kB / 0.5615 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.3434, allocations: 167.2 kB / 0.5616 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.3434, allocations: 8.125 kB / 0.5617 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.3434, allocations: 4 kB / 0.5617 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3436, allocations: 53.67 kB / 0.5617 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3436, allocations: 0 / 0.5617 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3436, allocations: 0 / 0.5617 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3436, allocations: 4 kB / 0.5617 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.3437, allocations: 23.92 kB / 0.5617 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.3441, allocations: 275.9 kB / 0.562 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.3443, allocations: 62.66 kB / 0.5621 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.3443, allocations: 16.86 kB / 0.5621 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.3443, allocations: 3.938 kB / 0.5621 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.3445, allocations: 71.38 kB / 0.5621 GB, free: 2.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.3445, allocations: 0 / 0.5621 GB, free: 2.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000613/0.3451, allocations: 197.2 kB / 0.5623 GB, free: 2.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.3452, allocations: 55.41 kB / 0.5624 GB, free: 2.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.3455, allocations: 283.7 kB / 0.5627 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3455, allocations: 29.7 kB / 0.5627 GB, free: 2.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.3456, allocations: 112.1 kB / 0.5628 GB, free: 2.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.3456, allocations: 27.78 kB / 0.5628 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.3457, allocations: 25.72 kB / 0.5628 GB, free: 2.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3458, allocations: 326.8 kB / 0.5632 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/0.3459, allocations: 20 kB / 0.5632 GB, free: 1.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.346, allocations: 37.7 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3461, allocations: 61.64 kB / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3461, allocations: 4 kB / 0.5633 GB, free: 1.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002086/0.3463, allocations: 117.5 kB / 0.5634 GB, free: 1.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3463, allocations: 4 kB / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.3463, allocations: 0 / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3464, allocations: 0 / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3465, allocations: 23.98 kB / 0.5634 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3465, allocations: 3.938 kB / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.3465, allocations: 4 kB / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3465, allocations: 384 / 0.5634 GB, free: 1.539 MB / 398.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.0001342/0.3466, allocations: 144.5 kB / 0.5636 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.3467, allocations: 15.91 kB / 0.5636 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.347, allocations: 135.1 kB / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.347, allocations: 0 / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.347, allocations: 7.938 kB / 0.5637 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.347, allocations: 0 / 0.5637 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.3475, allocations: 382.4 kB / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3475, allocations: 0 / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.3475, allocations: 15.92 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3475, allocations: 7.969 kB / 0.5641 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3475, allocations: 4.281 kB / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3475, allocations: 0 / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3475, allocations: 0 / 0.5641 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.3478, allocations: 220.2 kB / 0.5643 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.3478, allocations: 23.83 kB / 0.5643 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3479, allocations: 0 / 0.5643 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.3479, allocations: 4 kB / 0.5643 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.348, allocations: 7.984 kB / 0.5643 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.348, allocations: 4 kB / 0.5643 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.3482, allocations: 204.6 kB / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3482, allocations: 4 kB / 0.5645 GB, free: 296 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.3485, allocations: 31.89 kB / 0.5646 GB, free: 264 kB / 398.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.002301/0.3508, allocations: 1.139 MB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.351, allocations: 59.91 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.351, allocations: 0 / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.577e-05/0.3511, allocations: 39.86 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.3514, allocations: 27.11 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.3538, allocations: 1.839 MB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.3539, allocations: 109.2 kB / 0.5677 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.965e-05/0.354, allocations: 20.95 kB / 0.5677 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.3541, allocations: 43.42 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3541, allocations: 0 / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.3784, allocations: 4.15 MB / 0.5718 GB, free: 8.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.02, allocations: 14.62 kB / 0.5718 GB, free: 8.98 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.967973287915811] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.235509642981924 12.252911104 11.906002738 Calling exit ...