Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.00141/0.00141, allocations: 112.5 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.002078/0.002078, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2806/0.2806, allocations: 46.93 MB / 361.6 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] 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.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 67.91 kB / 0.497 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3626, allocations: 66.02 MB / 0.5615 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003453/0.366, allocations: 1.838 MB / 0.5633 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.3691, allocations: 1.805 MB / 0.565 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.3692, allocations: 7.938 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.3696, allocations: 55.67 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.37, allocations: 135.3 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.3703, allocations: 107.7 kB / 0.5653 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.3706, allocations: 207.3 kB / 0.5655 GB, free: 316 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.302e-05/0.3706, allocations: 13.78 kB / 0.5655 GB, free: 300 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.3708, allocations: 99.56 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.371, allocations: 83.61 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.3711, allocations: 12 kB / 0.5657 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.3713, allocations: 108 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.65e-05/0.3714, allocations: 47.72 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.3715, allocations: 55.61 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.3718, allocations: 229.1 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3718, allocations: 3.938 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3718, allocations: 0 / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3719, allocations: 3.938 kB / 0.5661 GB, free: 15.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007617/0.3726, allocations: 432.9 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3727, allocations: 12.03 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.3727, allocations: 192 / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.3727, allocations: 38.75 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.3728, allocations: 20.78 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.3732, allocations: 190.2 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.3733, allocations: 12.06 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3733, allocations: 4 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.3735, allocations: 101.1 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3735, allocations: 0 / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3736, allocations: 0 / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3736, allocations: 0 / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.3737, allocations: 31.92 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.374, allocations: 197.5 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.3743, allocations: 101.2 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.541e-05/0.3744, allocations: 37.64 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.3744, allocations: 15.94 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.3747, allocations: 97.08 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.3747, allocations: 0 / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005083/0.3752, allocations: 173.4 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.3753, allocations: 136.5 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.3756, allocations: 244.1 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.3756, allocations: 29.7 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.062e-05/0.3757, allocations: 116.1 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.3758, allocations: 31.73 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/0.3758, allocations: 33.7 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.376, allocations: 326.8 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.532e-05/0.3761, allocations: 31.97 kB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3762, allocations: 73.14 kB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.3764, allocations: 91.3 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3764, allocations: 0 / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003393/0.3768, allocations: 137.5 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3768, allocations: 4 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3768, allocations: 4 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3768, allocations: 0 / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3769, allocations: 23.92 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3769, allocations: 7.938 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.409e-05/0.377, allocations: 12.58 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.377, allocations: 4 kB / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001388/0.3772, allocations: 142.3 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.3772, allocations: 15.91 kB / 0.5689 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.3776, allocations: 154.7 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3776, allocations: 0 / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3776, allocations: 4 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3776, allocations: 0 / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.3779, allocations: 204.5 kB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3779, allocations: 4 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.3779, allocations: 11.94 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3779, allocations: 0 / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3779, allocations: 7.984 kB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3779, allocations: 0 / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3779, allocations: 0 / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.3783, allocations: 173.7 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.3783, allocations: 19.89 kB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.3783, allocations: 8 kB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.3784, allocations: 8 kB / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.3785, allocations: 3.984 kB / 0.5695 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.3785, allocations: 8 kB / 0.5695 GB, free: 11.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.3787, allocations: 177.8 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3787, allocations: 0 / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.379, allocations: 51.88 kB / 0.5697 GB, free: 11.61 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002465/0.3815, allocations: 1.117 MB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.3818, allocations: 75.91 kB / 0.5709 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3818, allocations: 3.938 kB / 0.5709 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.3819, allocations: 31.98 kB / 0.5709 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.3823, allocations: 64.34 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.3851, allocations: 1.896 MB / 0.5728 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.3855, allocations: 0.7164 MB / 0.5735 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.3856, allocations: 29.61 kB / 0.5736 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.3857, allocations: 59.41 kB / 0.5736 GB, free: 7.66 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3857, allocations: 0 / 0.5736 GB, free: 7.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.4156, allocations: 5.546 MB / 0.5791 GB, free: 2.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.74, allocations: 4 kB / 0.5791 GB, free: 2.176 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.95283228700282] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 11.990872805006802 12.006879466 11.631721962 Calling exit ...