Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.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.001395/0.001395, allocations: 105.1 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.001478/0.001478, allocations: 213.7 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.479/1.479, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2314/0.2314, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",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.002589/0.002589, allocations: 76.19 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3354, allocations: 66.08 MB / 0.5615 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003424/0.3389, allocations: 2.048 MB / 0.5635 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.341, allocations: 1.267 MB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.341, allocations: 8 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.3412, allocations: 51.56 kB / 0.5648 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.3416, allocations: 207.1 kB / 0.565 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008699/0.3425, allocations: 433.5 kB / 0.5654 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.3428, allocations: 303 kB / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.343, allocations: 52.88 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.3432, allocations: 131.5 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.3435, allocations: 203.2 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.3435, allocations: 16 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.3436, allocations: 63.97 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.3438, allocations: 151.5 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.3439, allocations: 174.5 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.3444, allocations: 400.4 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3444, allocations: 0 / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3444, allocations: 0 / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3444, allocations: 7.938 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001042/0.3454, allocations: 0.7407 MB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.3455, allocations: 12.03 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.3455, allocations: 46.73 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.3458, allocations: 80.5 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/0.3464, allocations: 414.4 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3464, allocations: 8.375 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.3464, allocations: 8.375 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.3467, allocations: 143.2 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3467, allocations: 4 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3467, allocations: 0 / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3467, allocations: 4 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.3469, allocations: 79.94 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000929/0.3479, allocations: 0.6518 MB / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.3481, allocations: 109.2 kB / 0.5691 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/0.3482, allocations: 37.83 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3482, allocations: 4 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3482, allocations: 42.5 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.3482, allocations: 0 / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.00136/0.3496, allocations: 0.5267 MB / 0.5697 GB, free: 11.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.3496, allocations: 85.05 kB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.3507, allocations: 0.922 MB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3507, allocations: 29.7 kB / 0.5707 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.351, allocations: 268.3 kB / 0.5709 GB, free: 10.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.313e-05/0.351, allocations: 55.52 kB / 0.571 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.3511, allocations: 33.7 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.3513, allocations: 374.8 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.3515, allocations: 52.19 kB / 0.5714 GB, free: 10.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.3516, allocations: 73.67 kB / 0.5715 GB, free: 9.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.3519, allocations: 137.6 kB / 0.5716 GB, free: 9.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3519, allocations: 3.938 kB / 0.5716 GB, free: 9.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004489/0.3524, allocations: 237.1 kB / 0.5719 GB, free: 9.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3524, allocations: 6.344 kB / 0.5719 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3524, allocations: 0 / 0.5719 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3524, allocations: 4 kB / 0.5719 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.3526, allocations: 44.66 kB / 0.5719 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3526, allocations: 0 / 0.5719 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.3527, allocations: 11.98 kB / 0.5719 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.3527, allocations: 4 kB / 0.5719 GB, free: 9.535 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0002177/0.353, allocations: 218.5 kB / 0.5721 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3531, allocations: 63.58 kB / 0.5722 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000573/0.3536, allocations: 274.7 kB / 0.5725 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3537, allocations: 3.938 kB / 0.5725 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3537, allocations: 8 kB / 0.5725 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3537, allocations: 0 / 0.5725 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3548, allocations: 0.7503 MB / 0.5732 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3548, allocations: 0 / 0.5732 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.355, allocations: 35.97 kB / 0.5732 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.355, allocations: 4 kB / 0.5733 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.355, allocations: 11.98 kB / 0.5733 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.355, allocations: 0 / 0.5733 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.355, allocations: 3.938 kB / 0.5733 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.3556, allocations: 405.5 kB / 0.5737 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.3557, allocations: 83.59 kB / 0.5737 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.3557, allocations: 4 kB / 0.5737 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.3559, allocations: 15.98 kB / 0.5738 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.356, allocations: 15.91 kB / 0.5738 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.356, allocations: 11.94 kB / 0.5738 GB, free: 7.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007936/0.3568, allocations: 0.6708 MB / 0.5744 GB, free: 6.895 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3568, allocations: 0 / 0.5744 GB, free: 6.895 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003644/0.3572, allocations: 56 kB / 0.5745 GB, free: 6.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 (16): * Single equations (assignments): 16 * 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.002214/0.3594, allocations: 1.234 MB / 0.5757 GB, free: 5.715 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003933/0.3598, allocations: 139.8 kB / 0.5758 GB, free: 5.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3598, allocations: 0 / 0.5758 GB, free: 5.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.3599, allocations: 75.89 kB / 0.5759 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.3605, allocations: 85.44 kB / 0.576 GB, free: 5.422 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006482/0.367, allocations: 5.06 MB / 0.5809 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005368/0.3675, allocations: 0.8613 MB / 0.5818 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.3677, allocations: 83.84 kB / 0.5818 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.3679, allocations: 175.3 kB / 0.582 GB, free: 15.13 MB / 430.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3679, allocations: 0 / 0.582 GB, free: 15.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.4037, allocations: 10.04 MB / 0.5918 GB, free: 5.102 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.764/9.168, allocations: 2.812 kB / 0.5918 GB, free: 5.102 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.054856292903423] Failed to read output from testmodel.py, exit status != 0: ['time', 'sine_R.y', 'sine_L.y', 'combiTable2D_1R.y', 'combiTable2D_2R.y', 'combiTable2D_1L.y', 'combiTable2D_2L.y', 'der_1R.y', 'der_2R.y', 'der_1L.y', 'der_2L.y'] 9.3113459283486 9.326228839 8.978689079 Calling exit ...