Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001548/0.001548, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002085/0.002085, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.558/1.558, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2301/0.2301, allocations: 46.94 MB / 361.6 MB, free: 4.176 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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.002326/0.002326, allocations: 83.86 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4027, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003768/0.4065, allocations: 2.053 MB / 0.5635 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.4091, allocations: 1.376 MB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.4092, allocations: 7.938 kB / 0.5649 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.4095, allocations: 59.5 kB / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004941/0.41, allocations: 203.2 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.4114, allocations: 0.6101 MB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.4118, allocations: 323 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.412, allocations: 56.88 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.4123, allocations: 147.3 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.4126, allocations: 199.3 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.4126, allocations: 16 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.4127, allocations: 71.89 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.4129, allocations: 147.5 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.4131, allocations: 170.6 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005299/0.4136, allocations: 424 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4136, allocations: 4 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4136, allocations: 0 / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.4136, allocations: 4 kB / 0.5672 GB, free: 14.45 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.001188/0.4148, allocations: 0.7562 MB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4149, allocations: 8.031 kB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/0.4149, allocations: 42.75 kB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003236/0.4153, allocations: 80.48 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007451/0.416, allocations: 427.2 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.416, allocations: 8.375 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.416, allocations: 16.38 kB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.4164, allocations: 143.3 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.4164, allocations: 7.938 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.4164, allocations: 4 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4164, allocations: 4 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.4167, allocations: 99.86 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.4177, allocations: 0.6752 MB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.4179, allocations: 113.2 kB / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.4181, allocations: 45.81 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.4181, allocations: 7.984 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.4181, allocations: 34.56 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.4181, allocations: 0 / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001594/0.4197, allocations: 0.5774 MB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.4198, allocations: 81.11 kB / 0.5703 GB, free: 11.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.421, allocations: 0.9221 MB / 0.5712 GB, free: 10.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.4211, allocations: 33.69 kB / 0.5712 GB, free: 10.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.4214, allocations: 272.3 kB / 0.5714 GB, free: 9.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.4214, allocations: 55.48 kB / 0.5715 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.4215, allocations: 33.7 kB / 0.5715 GB, free: 9.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.4217, allocations: 325.9 kB / 0.5718 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.4219, allocations: 63.95 kB / 0.5719 GB, free: 9.426 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.4221, allocations: 77.67 kB / 0.572 GB, free: 9.344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.4225, allocations: 153.6 kB / 0.5721 GB, free: 9.188 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4225, allocations: 3.938 kB / 0.5721 GB, free: 9.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005561/0.423, allocations: 249.1 kB / 0.5724 GB, free: 8.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4231, allocations: 8 kB / 0.5724 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4231, allocations: 0 / 0.5724 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4231, allocations: 0 / 0.5724 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.4233, allocations: 39.97 kB / 0.5724 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4233, allocations: 0 / 0.5724 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.4234, allocations: 15.92 kB / 0.5724 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.4235, allocations: 12 kB / 0.5724 GB, free: 8.859 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.0002593/0.4237, allocations: 214.6 kB / 0.5726 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.4238, allocations: 63.58 kB / 0.5727 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000703/0.4245, allocations: 299.6 kB / 0.573 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.4246, allocations: 7.984 kB / 0.573 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4246, allocations: 0 / 0.573 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4246, allocations: 0 / 0.573 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.4258, allocations: 0.8011 MB / 0.5738 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4259, allocations: 0 / 0.5738 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.426, allocations: 39.91 kB / 0.5738 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.426, allocations: 4 kB / 0.5738 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.426, allocations: 4 kB / 0.5738 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.426, allocations: 0 / 0.5738 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.426, allocations: 11.88 kB / 0.5738 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.4266, allocations: 425.9 kB / 0.5742 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.4268, allocations: 75.59 kB / 0.5743 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.4268, allocations: 7.984 kB / 0.5743 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.427, allocations: 8 kB / 0.5743 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.4271, allocations: 23.91 kB / 0.5743 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.4271, allocations: 4 kB / 0.5744 GB, free: 6.809 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007843/0.4279, allocations: 0.6825 MB / 0.575 GB, free: 6.133 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4279, allocations: 0 / 0.575 GB, free: 6.133 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004223/0.4283, allocations: 59.92 kB / 0.5751 GB, free: 6.074 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.002352/0.4306, allocations: 1.25 MB / 0.5763 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004476/0.4311, allocations: 154.7 kB / 0.5764 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4311, allocations: 0 / 0.5764 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.4313, allocations: 92.33 kB / 0.5765 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.4319, allocations: 86.83 kB / 0.5766 GB, free: 4.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006944/0.4388, allocations: 5.185 MB / 0.5817 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.4394, allocations: 0.8797 MB / 0.5825 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.4396, allocations: 95.2 kB / 0.5826 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.4399, allocations: 175.4 kB / 0.5828 GB, free: 14.16 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4399, allocations: 0 / 0.5828 GB, free: 14.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/0.4793, allocations: 10.28 MB / 0.5928 GB, free: 3.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/9.162, allocations: 2.969 kB / 0.5928 GB, free: 3.887 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.19831177406013] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D_1R.y[1]', 'der_1R.y', 'combiTable2D_2R.y[1]', 'der_2R.y', 'sine_R.y', 'const_R.y', 'combiTable2D_1L.y[1]', 'der_1L.y', 'combiTable2D_2L.y[1]', 'der_2L.y', 'sine_L.y', 'const_L.y'] 9.309934030286968 9.334943271 8.916623421 Calling exit ...