Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.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.00137/0.00137, allocations: 104.6 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.001555/0.001555, allocations: 216.8 kB / 22.99 MB, free: 5.586 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.489/1.489, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.2275/0.2275, allocations: 46.88 MB / 359.4 MB, free: 4.895 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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",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.002419/0.002419, allocations: 83.86 kB / 0.4941 GB, free: 8.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3304, allocations: 65.98 MB / 0.5586 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003589/0.334, allocations: 2.141 MB / 0.5607 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.3364, allocations: 1.415 MB / 0.5621 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.3366, allocations: 7.938 kB / 0.5621 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.3368, allocations: 67.48 kB / 0.5621 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.3373, allocations: 215 kB / 0.5623 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.3386, allocations: 0.614 MB / 0.5629 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000425/0.339, allocations: 347 kB / 0.5633 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.3392, allocations: 56.7 kB / 0.5633 GB, free: 292 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.3395, allocations: 147.4 kB / 0.5635 GB, free: 144 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.3398, allocations: 223.2 kB / 0.5637 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.3398, allocations: 12 kB / 0.5637 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.3399, allocations: 67.97 kB / 0.5637 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.3401, allocations: 155.4 kB / 0.5639 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.3403, allocations: 186.5 kB / 0.5641 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005167/0.3408, allocations: 451.7 kB / 0.5645 GB, free: 15.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.3408, allocations: 4 kB / 0.5645 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3408, allocations: 4 kB / 0.5645 GB, free: 15.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.3408, allocations: 0 / 0.5645 GB, free: 15.06 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.001202/0.342, allocations: 0.8548 MB / 0.5653 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3421, allocations: 15.91 kB / 0.5654 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.3421, allocations: 42.73 kB / 0.5654 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004392/0.3426, allocations: 96.47 kB / 0.5655 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.3432, allocations: 0.4932 MB / 0.566 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3432, allocations: 8.375 kB / 0.566 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.3433, allocations: 12.38 kB / 0.566 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.3436, allocations: 166.5 kB / 0.5662 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3436, allocations: 0 / 0.5662 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.3436, allocations: 8 kB / 0.5662 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3436, allocations: 7.938 kB / 0.5662 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.344, allocations: 115.9 kB / 0.5663 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.3451, allocations: 0.7269 MB / 0.567 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.3454, allocations: 133.4 kB / 0.5671 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.3456, allocations: 69.8 kB / 0.5672 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.3456, allocations: 3.938 kB / 0.5672 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.3456, allocations: 46.5 kB / 0.5672 GB, free: 12.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 3.486e-06/0.3456, allocations: 3.984 kB / 0.5672 GB, free: 12.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002223/0.3479, allocations: 0.7646 MB / 0.568 GB, free: 11.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.3479, allocations: 85.09 kB / 0.5681 GB, free: 11.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.3491, allocations: 0.9299 MB / 0.569 GB, free: 10.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.3491, allocations: 29.7 kB / 0.569 GB, free: 10.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.3494, allocations: 280.3 kB / 0.5693 GB, free: 9.938 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/0.3494, allocations: 79.38 kB / 0.5693 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.082e-05/0.3495, allocations: 33.7 kB / 0.5694 GB, free: 9.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3497, allocations: 321.9 kB / 0.5697 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.35, allocations: 111.9 kB / 0.5698 GB, free: 9.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.3503, allocations: 129.6 kB / 0.5699 GB, free: 9.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005964/0.3509, allocations: 249.6 kB / 0.5702 GB, free: 9.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3509, allocations: 3.938 kB / 0.5702 GB, free: 9.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007481/0.3516, allocations: 345 kB / 0.5705 GB, free: 8.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3517, allocations: 4 kB / 0.5705 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3517, allocations: 0.75 kB / 0.5705 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3517, allocations: 0 / 0.5705 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.352, allocations: 67.88 kB / 0.5706 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.352, allocations: 0 / 0.5706 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.3522, allocations: 19.98 kB / 0.5706 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.3522, allocations: 11.98 kB / 0.5706 GB, free: 8.559 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 (20): * Single equations (assignments): 20 * 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.0002444/0.3525, allocations: 221.7 kB / 0.5708 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.3526, allocations: 67.56 kB / 0.5709 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009086/0.3535, allocations: 394.6 kB / 0.5712 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3535, allocations: 0 / 0.5712 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3535, allocations: 0 / 0.5712 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3535, allocations: 4 kB / 0.5712 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.355, allocations: 0.9778 MB / 0.5722 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.355, allocations: 7.938 kB / 0.5722 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.3553, allocations: 47.95 kB / 0.5722 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3553, allocations: 0 / 0.5722 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.3553, allocations: 15.98 kB / 0.5723 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3553, allocations: 0 / 0.5723 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3553, allocations: 3.938 kB / 0.5723 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.3561, allocations: 0.516 MB / 0.5728 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.3563, allocations: 156.7 kB / 0.5729 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.3563, allocations: 0 / 0.5729 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.3566, allocations: 27.97 kB / 0.5729 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.3566, allocations: 23.91 kB / 0.573 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.3566, allocations: 4 kB / 0.573 GB, free: 6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000775/0.3574, allocations: 0.6786 MB / 0.5736 GB, free: 5.328 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3574, allocations: 4 kB / 0.5736 GB, free: 5.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.3578, allocations: 67.98 kB / 0.5737 GB, free: 5.258 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 (20): * Single equations (assignments): 20 * 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.002527/0.3603, allocations: 1.352 MB / 0.575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00072/0.361, allocations: 259.6 kB / 0.5753 GB, free: 3.773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.361, allocations: 0 / 0.5753 GB, free: 3.773 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.3614, allocations: 139.8 kB / 0.5754 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/0.362, allocations: 81.69 kB / 0.5755 GB, free: 3.559 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007448/0.3694, allocations: 5.509 MB / 0.5809 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/0.37, allocations: 0.8928 MB / 0.5817 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002709/0.3703, allocations: 115.2 kB / 0.5818 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.3705, allocations: 187.4 kB / 0.582 GB, free: 12.72 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3705, allocations: 3.938 kB / 0.582 GB, free: 12.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.4048, allocations: 10.75 MB / 0.5925 GB, free: 1.988 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.031/9.436, allocations: 0 / 0.5925 GB, free: 1.988 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.304133811005158] 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', 'cosine_R.y', 'sine_R.y', 'combiTable2D_1L.y[1]', 'der_1L.y', 'combiTable2D_2L.y[1]', 'der_2L.y', 'cosine_L.y', 'sine_L.y'] 9.56586431901087 9.581757211 9.23785416 Calling exit ...