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.001833/0.001833, 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.002358/0.002358, allocations: 214.1 kB / 24.52 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.662/1.662, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2564/0.2564, allocations: 46.97 MB / 361.7 MB, free: 4.051 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.002281/0.002281, allocations: 63.91 kB / 0.4969 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3847, allocations: 66.03 MB / 0.5614 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003849/0.3885, allocations: 1.787 MB / 0.5632 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.3917, allocations: 1.724 MB / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.3918, allocations: 3.938 kB / 0.5648 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.3922, allocations: 55.67 kB / 0.5649 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005009/0.3927, allocations: 139.4 kB / 0.565 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.393, allocations: 107.6 kB / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.3933, allocations: 211.3 kB / 0.5653 GB, free: 212 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.547e-05/0.3934, allocations: 9.797 kB / 0.5653 GB, free: 200 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.3935, allocations: 83.64 kB / 0.5654 GB, free: 116 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.3937, allocations: 83.55 kB / 0.5655 GB, free: 32 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.3937, allocations: 8 kB / 0.5655 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.3939, allocations: 115.9 kB / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.394, allocations: 39.83 kB / 0.5657 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.934e-05/0.3941, allocations: 47.73 kB / 0.5657 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.3945, allocations: 232.9 kB / 0.5659 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3945, allocations: 4 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3945, allocations: 0 / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3945, allocations: 0 / 0.5659 GB, free: 15.59 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.0007204/0.3952, allocations: 428.9 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3952, allocations: 8.031 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.642e-05/0.3953, allocations: 4.188 kB / 0.5663 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.3953, allocations: 42.72 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.3954, allocations: 16.84 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.3958, allocations: 194.1 kB / 0.5666 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3958, allocations: 8.125 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.3958, allocations: 4 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.3961, allocations: 148.5 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3961, allocations: 0 / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3961, allocations: 4 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3961, allocations: 0 / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.3962, allocations: 35.91 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.3965, allocations: 189.6 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.3968, allocations: 113.1 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3969, allocations: 41.69 kB / 0.5671 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.397, allocations: 0 / 0.5671 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.3972, allocations: 117 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3972, allocations: 0 / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005235/0.3977, allocations: 169.5 kB / 0.5674 GB, free: 13.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.3978, allocations: 140.5 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.3982, allocations: 252.1 kB / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.3982, allocations: 29.7 kB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.3983, allocations: 116.1 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.3983, allocations: 31.73 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.3984, allocations: 29.72 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3986, allocations: 330.8 kB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.34e-05/0.3986, allocations: 27.98 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.3988, allocations: 128.5 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.399, allocations: 99.83 kB / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.399, allocations: 0 / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002971/0.3993, allocations: 141.5 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3993, allocations: 8 kB / 0.5687 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3993, allocations: 0 / 0.5687 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3993, allocations: 0 / 0.5687 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3995, allocations: 27.92 kB / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3995, allocations: 0 / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.615e-05/0.3996, allocations: 16 kB / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.3996, allocations: 8 kB / 0.5687 GB, free: 12.44 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.0001462/0.3997, allocations: 138.2 kB / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.3998, allocations: 23.89 kB / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.4002, allocations: 154.7 kB / 0.569 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4002, allocations: 7.984 kB / 0.569 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4002, allocations: 3.938 kB / 0.569 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4002, allocations: 0 / 0.569 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.4004, allocations: 196.5 kB / 0.5692 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4004, allocations: 8.234 kB / 0.5692 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.4005, allocations: 8 kB / 0.5692 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4005, allocations: 4 kB / 0.5692 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.4005, allocations: 11.92 kB / 0.5692 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4005, allocations: 0 / 0.5692 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4005, allocations: 0 / 0.5692 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.4009, allocations: 193.7 kB / 0.5694 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.4009, allocations: 19.86 kB / 0.5694 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.401, allocations: 4 kB / 0.5694 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.19e-05/0.401, allocations: 7.984 kB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.4011, allocations: 15.98 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.4011, allocations: 8 kB / 0.5695 GB, free: 11.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.4013, allocations: 177.8 kB / 0.5696 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4013, allocations: 0 / 0.5696 GB, free: 11.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000333/0.4017, allocations: 59.86 kB / 0.5697 GB, free: 11.34 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 (12): * Single equations (assignments): 8 * 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.002606/0.4043, allocations: 1.15 MB / 0.5708 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003059/0.4046, allocations: 87.89 kB / 0.5709 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4046, allocations: 0 / 0.5709 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.4047, allocations: 48.05 kB / 0.571 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.4051, allocations: 63.89 kB / 0.571 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.4077, allocations: 1.916 MB / 0.5729 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.4078, allocations: 111.4 kB / 0.573 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.408, allocations: 29.42 kB / 0.573 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.4081, allocations: 67.33 kB / 0.5731 GB, free: 7.953 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4081, allocations: 0 / 0.5731 GB, free: 7.953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.4367, allocations: 5.856 MB / 0.5788 GB, free: 2.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.92, allocations: 7.875 kB / 0.5788 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: 15.263819308020175] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 12.13477523997426 12.149602888 11.752021918 Calling exit ...