Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001295/0.001295, 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.001417/0.001417, allocations: 212.3 kB / 24.52 MB, free: 3.914 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.2152/0.2152, allocations: 44.94 MB / 359.6 MB, free: 6.027 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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",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.002034/0.002034, allocations: 59.91 kB / 0.4939 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3258, allocations: 65.47 MB / 0.5578 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00316/0.3289, allocations: 1.707 MB / 0.5595 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3306, allocations: 0.9626 MB / 0.5604 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.3306, allocations: 7.938 kB / 0.5604 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.3309, allocations: 39.81 kB / 0.5604 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.3312, allocations: 103.5 kB / 0.5605 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.3314, allocations: 83.66 kB / 0.5606 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.3316, allocations: 103.7 kB / 0.5607 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.3317, allocations: 5.828 kB / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.595e-05/0.3317, allocations: 51.77 kB / 0.5608 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.773e-05/0.3318, allocations: 35.8 kB / 0.5608 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3318, allocations: 4 kB / 0.5608 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.259e-05/0.3319, allocations: 39.98 kB / 0.5609 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.332, allocations: 27.84 kB / 0.5609 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.332, allocations: 23.81 kB / 0.5609 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.3323, allocations: 127.5 kB / 0.561 GB, free: 4.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3323, allocations: 0 / 0.561 GB, free: 4.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3323, allocations: 0 / 0.561 GB, free: 4.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3323, allocations: 0 / 0.561 GB, free: 4.172 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.0005424/0.3328, allocations: 353.5 kB / 0.5614 GB, free: 3.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3328, allocations: 8.031 kB / 0.5614 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.327e-05/0.3329, allocations: 4.188 kB / 0.5614 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.3329, allocations: 30.75 kB / 0.5614 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.3329, allocations: 8.891 kB / 0.5614 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.3332, allocations: 155 kB / 0.5616 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3332, allocations: 4.125 kB / 0.5616 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3332, allocations: 4 kB / 0.5616 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3334, allocations: 53.67 kB / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3334, allocations: 0 / 0.5616 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3334, allocations: 11.98 kB / 0.5616 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3334, allocations: 7.938 kB / 0.5616 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.3335, allocations: 23.92 kB / 0.5617 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.3339, allocations: 259.9 kB / 0.5619 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.334, allocations: 50.67 kB / 0.562 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.897e-05/0.3341, allocations: 20.86 kB / 0.562 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.3341, allocations: 0 / 0.562 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.3343, allocations: 75.31 kB / 0.562 GB, free: 2.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3343, allocations: 4 kB / 0.5621 GB, free: 2.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005911/0.3349, allocations: 181.3 kB / 0.5622 GB, free: 2.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.3349, allocations: 55.41 kB / 0.5623 GB, free: 2.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.3351, allocations: 202.2 kB / 0.5625 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3351, allocations: 25.7 kB / 0.5625 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.3352, allocations: 108.1 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.3352, allocations: 27.78 kB / 0.5626 GB, free: 2.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.3353, allocations: 21.7 kB / 0.5626 GB, free: 2.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3354, allocations: 326.8 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/0.3355, allocations: 19.98 kB / 0.563 GB, free: 1.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.3356, allocations: 45.64 kB / 0.563 GB, free: 1.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.3357, allocations: 61.66 kB / 0.5631 GB, free: 1.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3357, allocations: 0 / 0.5631 GB, free: 1.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002054/0.3359, allocations: 109.5 kB / 0.5632 GB, free: 1.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3359, allocations: 4 kB / 0.5632 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3359, allocations: 3.984 kB / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.336, allocations: 0 / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.336, allocations: 19.98 kB / 0.5632 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3361, allocations: 3.969 kB / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.3361, allocations: 8 kB / 0.5632 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3361, allocations: 0 / 0.5632 GB, free: 1.715 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.0001146/0.3362, allocations: 129.8 kB / 0.5633 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.3363, allocations: 11.91 kB / 0.5634 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.3365, allocations: 119 kB / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3365, allocations: 4 kB / 0.5635 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3365, allocations: 3.938 kB / 0.5635 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3365, allocations: 0 / 0.5635 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.337, allocations: 374.8 kB / 0.5638 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.337, allocations: 0 / 0.5638 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.3371, allocations: 23.86 kB / 0.5639 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3371, allocations: 3.938 kB / 0.5639 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3371, allocations: 4 kB / 0.5639 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3371, allocations: 0 / 0.5639 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3371, allocations: 0 / 0.5639 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.3374, allocations: 220.5 kB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.3374, allocations: 11.89 kB / 0.5641 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.3374, allocations: 0 / 0.5641 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.854e-05/0.3375, allocations: 8.125 kB / 0.5641 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.3375, allocations: 15.92 kB / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3376, allocations: 4 kB / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.3377, allocations: 148.2 kB / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3377, allocations: 0 / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.338, allocations: 27.94 kB / 0.5643 GB, free: 0.5312 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.002339/0.3403, allocations: 1.138 MB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.3405, allocations: 63.84 kB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3405, allocations: 0 / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.3406, allocations: 31.92 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.341, allocations: 27.17 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.343, allocations: 1.689 MB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.3431, allocations: 88.19 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.977e-05/0.3431, allocations: 17.27 kB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.3432, allocations: 39.42 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3432, allocations: 0 / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.3666, allocations: 3.813 MB / 0.571 GB, free: 9.785 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.88, allocations: 9.141 kB / 0.571 GB, free: 9.781 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.782534483936615] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.100489078089595 12.116199715 11.78077397 Calling exit ...