Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001273/0.001273, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001685/0.001685, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.454/1.454, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2365/0.2365, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7",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.002215/0.002215, allocations: 79.86 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3212, allocations: 66.07 MB / 0.5615 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002995/0.3242, allocations: 1.632 MB / 0.5631 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.3252, allocations: 0.5488 MB / 0.5636 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.3252, allocations: 0 / 0.5636 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005565/0.3258, allocations: 459.1 kB / 0.5641 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004263/0.3262, allocations: 287.3 kB / 0.5644 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.3265, allocations: 135.1 kB / 0.5645 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.3267, allocations: 167.6 kB / 0.5646 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.199e-05/0.3268, allocations: 4.188 kB / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.327, allocations: 111.8 kB / 0.5648 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.3272, allocations: 247.5 kB / 0.565 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.3272, allocations: 0 / 0.565 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.503e-05/0.3273, allocations: 24 kB / 0.565 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.726e-05/0.3274, allocations: 84.67 kB / 0.5651 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.646e-05/0.3275, allocations: 107 kB / 0.5652 GB, free: 412 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.3278, allocations: 256.6 kB / 0.5654 GB, free: 156 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3278, allocations: 0 / 0.5654 GB, free: 156 kB / 398.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3278, allocations: 0 / 0.5654 GB, free: 156 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3278, allocations: 3.938 kB / 0.5654 GB, free: 152 kB / 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.0007055/0.3285, allocations: 0.5737 MB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3286, allocations: 8.031 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.3286, allocations: 38.75 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.3287, allocations: 52.59 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.3289, allocations: 242.8 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.329, allocations: 4.359 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.329, allocations: 4.375 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.3291, allocations: 50 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3291, allocations: 0 / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.3291, allocations: 3.938 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.3291, allocations: 4 kB / 0.5664 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.153e-05/0.3292, allocations: 19.98 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.3296, allocations: 347.9 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.959e-05/0.3297, allocations: 30.58 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.3297, allocations: 20.84 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.3298, allocations: 0 / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.3298, allocations: 30.56 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.3298, allocations: 4 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002447/0.33, allocations: 101.4 kB / 0.5669 GB, free: 14.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.3301, allocations: 51.41 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009016/0.331, allocations: 0.8699 MB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.331, allocations: 29.7 kB / 0.5678 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.3312, allocations: 228 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.3312, allocations: 3.953 kB / 0.5681 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.3312, allocations: 25.78 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3314, allocations: 358.7 kB / 0.5684 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.3314, allocations: 11.92 kB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.543e-05/0.3315, allocations: 12 kB / 0.5685 GB, free: 12.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.13e-05/0.3315, allocations: 24.84 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3315, allocations: 0 / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001509/0.3317, allocations: 97.45 kB / 0.5686 GB, free: 12.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3317, allocations: 10.44 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.3317, allocations: 0 / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.3317, allocations: 0 / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.387e-05/0.3318, allocations: 4 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3318, allocations: 4 kB / 0.5686 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.3318, allocations: 7.922 kB / 0.5686 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.3318, allocations: 0 / 0.5686 GB, free: 12.71 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 (2): * Single equations (assignments): 2 * 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.0001938/0.332, allocations: 222.5 kB / 0.5688 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.3321, allocations: 47.72 kB / 0.5689 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.3323, allocations: 104.8 kB / 0.569 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3323, allocations: 0 / 0.569 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3323, allocations: 3.984 kB / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.3323, allocations: 0 / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.3327, allocations: 264.6 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3327, allocations: 0 / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.3327, allocations: 4 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3327, allocations: 4.031 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.3327, allocations: 0 / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3327, allocations: 0 / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3327, allocations: 0 / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.3329, allocations: 195.1 kB / 0.5694 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.333, allocations: 35.67 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.333, allocations: 4 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.3331, allocations: 12.02 kB / 0.5695 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.714e-06/0.3331, allocations: 0 / 0.5695 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.3331, allocations: 0 / 0.5695 GB, free: 11.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00067/0.3338, allocations: 0.6589 MB / 0.5701 GB, free: 11.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3338, allocations: 4 kB / 0.5701 GB, free: 11.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.334, allocations: 12 kB / 0.5701 GB, free: 11.09 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 (2): * Single equations (assignments): 2 * 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.001612/0.3356, allocations: 0.9708 MB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.3357, allocations: 23.98 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3357, allocations: 0 / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.76e-05/0.3358, allocations: 11.98 kB / 0.5711 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.3362, allocations: 28.64 kB / 0.5711 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.3398, allocations: 3.152 MB / 0.5742 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.3403, allocations: 0.8221 MB / 0.575 GB, free: 6.051 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.956e-05/0.3403, allocations: 19.81 kB / 0.575 GB, free: 6.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.3405, allocations: 115.4 kB / 0.5751 GB, free: 5.918 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3405, allocations: 0 / 0.5751 GB, free: 5.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.3726, allocations: 5.8 MB / 0.5808 GB, free: 120 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/8.936, allocations: 0 / 0.5808 GB, free: 120 kB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.810569813940674] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'clock.y', 'const.y'] 9.081643311772496 9.111385948 8.778213109 Calling exit ...