Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001717/0.001717, allocations: 109.4 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002315/0.002315, allocations: 215.4 kB / 23 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2447/0.2447, allocations: 46.9 MB / 359.4 MB, free: 4.895 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 79.88 kB / 0.4942 GB, free: 8.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3571, allocations: 65.99 MB / 0.5586 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.004046/0.3612, allocations: 1.617 MB / 0.5602 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3626, allocations: 0.5499 MB / 0.5607 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.157e-05/0.3627, allocations: 0 / 0.5607 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.3629, allocations: 23.84 kB / 0.5607 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.3633, allocations: 79.62 kB / 0.5608 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.3637, allocations: 111.7 kB / 0.5609 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.3639, allocations: 63.89 kB / 0.561 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.364, allocations: 13.81 kB / 0.561 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.3641, allocations: 19.88 kB / 0.561 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.3642, allocations: 27.8 kB / 0.561 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3642, allocations: 7.938 kB / 0.561 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3643, allocations: 39.97 kB / 0.5611 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.3644, allocations: 11.92 kB / 0.5611 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.3644, allocations: 19.88 kB / 0.5611 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.3646, allocations: 83.59 kB / 0.5612 GB, free: 2.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3646, allocations: 0 / 0.5612 GB, free: 2.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3647, allocations: 4 kB / 0.5612 GB, free: 2.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3647, allocations: 0 / 0.5612 GB, free: 2.477 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006584/0.3653, allocations: 386.9 kB / 0.5616 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.3654, allocations: 12.03 kB / 0.5616 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.339e-05/0.3654, allocations: 34.75 kB / 0.5616 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.3655, allocations: 12.88 kB / 0.5616 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.3658, allocations: 180.3 kB / 0.5618 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.3658, allocations: 8.375 kB / 0.5618 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.3658, allocations: 384 / 0.5618 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.366, allocations: 58.23 kB / 0.5619 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.366, allocations: 3.938 kB / 0.5619 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3661, allocations: 0 / 0.5619 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3661, allocations: 0 / 0.5619 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.3662, allocations: 27.92 kB / 0.5619 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.3666, allocations: 284.8 kB / 0.5622 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.3669, allocations: 50.5 kB / 0.5622 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.029e-05/0.3669, allocations: 16.94 kB / 0.5622 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.367, allocations: 4 kB / 0.5622 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.367, allocations: 34.5 kB / 0.5623 GB, free: 1.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.367, allocations: 0 / 0.5623 GB, free: 1.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005839/0.3676, allocations: 149.5 kB / 0.5624 GB, free: 1.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.3676, allocations: 59.34 kB / 0.5625 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3678, allocations: 150.1 kB / 0.5626 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.3678, allocations: 25.7 kB / 0.5626 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.3679, allocations: 104.1 kB / 0.5627 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.3679, allocations: 15.84 kB / 0.5627 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.368, allocations: 17.72 kB / 0.5628 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3682, allocations: 330.8 kB / 0.5631 GB, free: 328 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.05e-05/0.3682, allocations: 19.98 kB / 0.5631 GB, free: 308 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.434e-05/0.3683, allocations: 19.98 kB / 0.5631 GB, free: 288 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.3684, allocations: 52.83 kB / 0.5632 GB, free: 232 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3684, allocations: 0 / 0.5632 GB, free: 232 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001973/0.3686, allocations: 81.61 kB / 0.5632 GB, free: 144 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3687, allocations: 18.59 kB / 0.5633 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3687, allocations: 0 / 0.5633 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3687, allocations: 0 / 0.5633 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/0.3687, allocations: 15.92 kB / 0.5633 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.3688, allocations: 0 / 0.5633 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.3688, allocations: 8 kB / 0.5633 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-06/0.3688, allocations: 4 kB / 0.5633 GB, free: 100 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001393/0.3689, allocations: 121.8 kB / 0.5634 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.369, allocations: 7.953 kB / 0.5634 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.3693, allocations: 98.22 kB / 0.5635 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3693, allocations: 7.938 kB / 0.5635 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.3693, allocations: 3.984 kB / 0.5635 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3693, allocations: 0 / 0.5635 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.3698, allocations: 350.5 kB / 0.5638 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3698, allocations: 0 / 0.5638 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.3698, allocations: 16 kB / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3699, allocations: 0 / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3699, allocations: 7.922 kB / 0.5639 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3699, allocations: 0 / 0.5639 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3699, allocations: 3.938 kB / 0.5639 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.3702, allocations: 187.4 kB / 0.5641 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/0.3702, allocations: 81.06 kB / 0.5641 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3702, allocations: 8 kB / 0.5641 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.3703, allocations: 0 / 0.5641 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.3703, allocations: 11.92 kB / 0.5641 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3703, allocations: 0 / 0.5641 GB, free: 15.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.3705, allocations: 117.5 kB / 0.5643 GB, free: 14.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3705, allocations: 0 / 0.5643 GB, free: 14.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000249/0.3707, allocations: 23.92 kB / 0.5643 GB, free: 14.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002055/0.3728, allocations: 1.015 MB / 0.5653 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.373, allocations: 47.97 kB / 0.5653 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.373, allocations: 0 / 0.5653 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.3731, allocations: 35.91 kB / 0.5654 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.3735, allocations: 19.03 kB / 0.5654 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.3754, allocations: 1.474 MB / 0.5668 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.3758, allocations: 0.6953 MB / 0.5675 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.541e-05/0.3758, allocations: 23.83 kB / 0.5675 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.3759, allocations: 23.42 kB / 0.5675 GB, free: 11.66 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3759, allocations: 4 kB / 0.5675 GB, free: 11.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.4019, allocations: 2.563 MB / 0.57 GB, free: 9.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.348, allocations: 7.938 kB / 0.5701 GB, free: 9.082 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.355875395005569] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.471793839999009 8.495448332 8.127423392 Calling exit ...