Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001689/0.001689, allocations: 109.5 kB / 20.18 MB, free: 1.961 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.002192/0.002192, allocations: 208.9 kB / 23.44 MB, free: 5.086 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.47/1.47, allocations: 230.2 MB / 256.8 MB, free: 8.594 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.2345/0.2345, allocations: 46.87 MB / 360 MB, free: 4.773 MB / 286.1 MB " [Timeout remaining time 180] 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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",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.002364/0.002364, allocations: 79.88 kB / 0.495 GB, free: 8.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3244, allocations: 65.98 MB / 0.5595 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002994/0.3274, allocations: 1.636 MB / 0.5611 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3284, allocations: 0.5732 MB / 0.5616 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.3285, allocations: 0 / 0.5616 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.3288, allocations: 107.7 kB / 0.5617 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.3291, allocations: 115.6 kB / 0.5618 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.3294, allocations: 111.7 kB / 0.562 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.3296, allocations: 87.81 kB / 0.562 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3297, allocations: 25.8 kB / 0.5621 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.3297, allocations: 35.91 kB / 0.5621 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.3298, allocations: 75.73 kB / 0.5622 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.3298, allocations: 0 / 0.5622 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.33, allocations: 51.97 kB / 0.5622 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.33, allocations: 23.86 kB / 0.5622 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.3301, allocations: 35.73 kB / 0.5623 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.3302, allocations: 115.4 kB / 0.5624 GB, free: 2.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3302, allocations: 3.938 kB / 0.5624 GB, free: 2.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3303, allocations: 4 kB / 0.5624 GB, free: 2.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3303, allocations: 0 / 0.5624 GB, free: 2.031 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005371/0.3308, allocations: 442.5 kB / 0.5628 GB, free: 1.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3308, allocations: 9.109 kB / 0.5628 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.3309, allocations: 34.73 kB / 0.5629 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.3309, allocations: 12.89 kB / 0.5629 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.3311, allocations: 209.8 kB / 0.5631 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3311, allocations: 4.375 kB / 0.5631 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3311, allocations: 4.375 kB / 0.5631 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.3313, allocations: 54.23 kB / 0.5631 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.3313, allocations: 11.89 kB / 0.5631 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3313, allocations: 4 kB / 0.5631 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.3313, allocations: 0 / 0.5631 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3314, allocations: 27.92 kB / 0.5632 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.3319, allocations: 304.8 kB / 0.5635 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.332, allocations: 50.55 kB / 0.5635 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.332, allocations: 20.8 kB / 0.5635 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3321, allocations: 4 kB / 0.5635 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3321, allocations: 38.62 kB / 0.5636 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3321, allocations: 0 / 0.5636 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009456/0.333, allocations: 249.1 kB / 0.5638 GB, free: 408 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.3331, allocations: 51.41 kB / 0.5639 GB, free: 344 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.3333, allocations: 255 kB / 0.5641 GB, free: 80 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3334, allocations: 25.7 kB / 0.5641 GB, free: 48 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.3334, allocations: 108.1 kB / 0.5642 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.3335, allocations: 31.67 kB / 0.5643 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.3335, allocations: 25.72 kB / 0.5643 GB, free: 15.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3337, allocations: 330.8 kB / 0.5646 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.115e-05/0.3338, allocations: 31.97 kB / 0.5646 GB, free: 15.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-05/0.3338, allocations: 23.98 kB / 0.5646 GB, free: 15.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.334, allocations: 84.81 kB / 0.5647 GB, free: 15.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.334, allocations: 0 / 0.5647 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002346/0.3343, allocations: 117.6 kB / 0.5648 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3343, allocations: 4 kB / 0.5648 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3343, allocations: 0 / 0.5648 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3343, allocations: 0 / 0.5648 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3344, allocations: 23.98 kB / 0.5649 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3344, allocations: 0 / 0.5649 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.3344, allocations: 7.984 kB / 0.5649 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.3345, allocations: 3.938 kB / 0.5649 GB, free: 15.24 MB / 414.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 (8): * Single equations (assignments): 8 * 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.0001293/0.3346, allocations: 141.8 kB / 0.565 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.3346, allocations: 19.84 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.3349, allocations: 135.3 kB / 0.5652 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3349, allocations: 0 / 0.5652 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3349, allocations: 0 / 0.5652 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3349, allocations: 0 / 0.5652 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.3355, allocations: 431.2 kB / 0.5656 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3355, allocations: 0 / 0.5656 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.793e-05/0.3356, allocations: 27.92 kB / 0.5656 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3356, allocations: 0 / 0.5656 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3356, allocations: 3.938 kB / 0.5656 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3356, allocations: 0 / 0.5656 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3356, allocations: 4 kB / 0.5656 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.3359, allocations: 220.3 kB / 0.5658 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.336, allocations: 85.06 kB / 0.5659 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.336, allocations: 3.938 kB / 0.5659 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.3361, allocations: 7.984 kB / 0.5659 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.3361, allocations: 8 kB / 0.5659 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.3361, allocations: 0 / 0.5659 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.3363, allocations: 192.4 kB / 0.5661 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3363, allocations: 11.88 kB / 0.5661 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.3365, allocations: 23.92 kB / 0.5661 GB, free: 13.84 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002135/0.3387, allocations: 1.094 MB / 0.5672 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.3389, allocations: 71.89 kB / 0.5673 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3389, allocations: 0 / 0.5673 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.339, allocations: 47.97 kB / 0.5673 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.3394, allocations: 25.91 kB / 0.5673 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.3416, allocations: 1.811 MB / 0.5691 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.3419, allocations: 0.7197 MB / 0.5698 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.361e-05/0.342, allocations: 20.66 kB / 0.5698 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.3421, allocations: 35.42 kB / 0.5699 GB, free: 10.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3421, allocations: 0 / 0.5699 GB, free: 10.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.367, allocations: 3.338 MB / 0.5731 GB, free: 6.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/8.695, allocations: 6.812 kB / 0.5731 GB, free: 6.707 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.644159571034834] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.822124977014028 8.851330715 8.515654368 Calling exit ...