Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001291/0.001291, 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.001354/0.001354, allocations: 212.9 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.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2727/0.2727, allocations: 44.93 MB / 359.6 MB, free: 6.086 MB / 286.1 MB " [Timeout remaining time 179] 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.002027/0.002027, allocations: 63.89 kB / 0.4939 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3835, allocations: 65.48 MB / 0.5578 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.00323/0.3867, allocations: 1.701 MB / 0.5595 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3885, allocations: 0.9715 MB / 0.5604 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.3885, allocations: 0 / 0.5604 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.3889, allocations: 47.75 kB / 0.5604 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.3892, allocations: 99.59 kB / 0.5605 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.3894, allocations: 75.69 kB / 0.5606 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.3896, allocations: 111.7 kB / 0.5607 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.3897, allocations: 5.828 kB / 0.5607 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.293e-05/0.3897, allocations: 43.78 kB / 0.5608 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.229e-05/0.3898, allocations: 39.78 kB / 0.5608 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3899, allocations: 4 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.976e-05/0.39, allocations: 39.98 kB / 0.5609 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.39, allocations: 23.86 kB / 0.5609 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.3901, allocations: 31.78 kB / 0.5609 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.3903, allocations: 123.5 kB / 0.561 GB, free: 4.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3903, allocations: 0 / 0.561 GB, free: 4.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.3903, allocations: 7.938 kB / 0.561 GB, free: 4.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3903, allocations: 4 kB / 0.561 GB, free: 4.195 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.0005677/0.3909, allocations: 353.5 kB / 0.5614 GB, free: 3.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3909, allocations: 8.031 kB / 0.5614 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.381e-05/0.391, allocations: 192 / 0.5614 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.397e-05/0.391, allocations: 34.75 kB / 0.5614 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.391, allocations: 8.891 kB / 0.5614 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.3913, allocations: 158.3 kB / 0.5616 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3914, allocations: 8.109 kB / 0.5616 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3914, allocations: 4 kB / 0.5616 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3916, allocations: 65.59 kB / 0.5616 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3916, allocations: 0 / 0.5616 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3916, allocations: 0 / 0.5616 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.3916, allocations: 4 kB / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.245e-05/0.3917, allocations: 23.98 kB / 0.5617 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.3921, allocations: 259.9 kB / 0.5619 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.3923, allocations: 58.61 kB / 0.562 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.3924, allocations: 24.78 kB / 0.562 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3924, allocations: 0 / 0.562 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.3926, allocations: 71.39 kB / 0.5621 GB, free: 3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.3926, allocations: 0 / 0.5621 GB, free: 3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006232/0.3932, allocations: 185.3 kB / 0.5622 GB, free: 2.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.3933, allocations: 55.41 kB / 0.5623 GB, free: 2.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.3935, allocations: 226.6 kB / 0.5625 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.3935, allocations: 29.7 kB / 0.5625 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.3936, allocations: 104.1 kB / 0.5626 GB, free: 2.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.3936, allocations: 19.86 kB / 0.5627 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.3937, allocations: 25.7 kB / 0.5627 GB, free: 2.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.3939, allocations: 330.8 kB / 0.563 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-05/0.394, allocations: 19.98 kB / 0.563 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.394, allocations: 37.64 kB / 0.5631 GB, free: 1.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.3942, allocations: 65.77 kB / 0.5631 GB, free: 1.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3942, allocations: 0 / 0.5631 GB, free: 1.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001994/0.3944, allocations: 109.5 kB / 0.5632 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3944, allocations: 4 kB / 0.5632 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.3944, allocations: 4 kB / 0.5632 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3944, allocations: 7.969 kB / 0.5632 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.3945, allocations: 15.98 kB / 0.5633 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3945, allocations: 3.938 kB / 0.5633 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.3946, allocations: 7.938 kB / 0.5633 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.3946, allocations: 4 kB / 0.5633 GB, free: 1.695 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.0001292/0.3947, allocations: 129.8 kB / 0.5634 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.3947, allocations: 15.91 kB / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.395, allocations: 115.1 kB / 0.5635 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.395, allocations: 3.938 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.395, allocations: 7.938 kB / 0.5635 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.395, allocations: 4 kB / 0.5635 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.3955, allocations: 374.7 kB / 0.5639 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3955, allocations: 384 / 0.5639 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.3956, allocations: 8 kB / 0.5639 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3956, allocations: 7.875 kB / 0.5639 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.3956, allocations: 8 kB / 0.5639 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3956, allocations: 0 / 0.5639 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3956, allocations: 0 / 0.5639 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.3959, allocations: 220.2 kB / 0.5641 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.3959, allocations: 15.92 kB / 0.5641 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.3959, allocations: 4 kB / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.396, allocations: 4 kB / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.396, allocations: 7.984 kB / 0.5642 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.396, allocations: 4 kB / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.3962, allocations: 160.3 kB / 0.5643 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3962, allocations: 0 / 0.5643 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3964, allocations: 23.98 kB / 0.5643 GB, free: 0.5117 MB / 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.002325/0.3988, allocations: 1.139 MB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.399, allocations: 63.84 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.399, allocations: 0 / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.457e-05/0.3991, allocations: 35.92 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.3994, allocations: 36.52 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.4014, allocations: 1.701 MB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.4015, allocations: 96.59 kB / 0.5673 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.4016, allocations: 16.58 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.4017, allocations: 43.42 kB / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4017, allocations: 0 / 0.5674 GB, free: 13.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.4258, allocations: 3.87 MB / 0.5712 GB, free: 9.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.67, allocations: 12 kB / 0.5712 GB, free: 9.664 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.756604063906707] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.88338167197071 11.898564551 11.505053503 Calling exit ...