Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001787/0.001787, 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.00218/0.00218, allocations: 213.9 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.517/1.517, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.2422/0.2422, allocations: 46.94 MB / 361.6 MB, free: 4.297 MB / 286.1 MB " [Timeout remaining time 179] 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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1",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.00321/0.00321, allocations: 80.16 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4174, allocations: 66.09 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00305/0.4204, allocations: 1.614 MB / 0.5631 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.4215, allocations: 0.5576 MB / 0.5636 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.4216, allocations: 4 kB / 0.5637 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.4217, allocations: 23.84 kB / 0.5637 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.422, allocations: 79.62 kB / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.4223, allocations: 115.6 kB / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.4225, allocations: 59.84 kB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.4226, allocations: 19.97 kB / 0.5639 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.4226, allocations: 23.88 kB / 0.564 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.4227, allocations: 19.86 kB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.4227, allocations: 4 kB / 0.564 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.4228, allocations: 35.97 kB / 0.564 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.4228, allocations: 15.92 kB / 0.564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.4229, allocations: 19.88 kB / 0.5641 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.423, allocations: 83.55 kB / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.423, allocations: 0 / 0.5641 GB, free: 1.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.423, allocations: 4 kB / 0.5641 GB, free: 1.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.423, allocations: 4 kB / 0.5641 GB, free: 1.633 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004444/0.4235, allocations: 309.9 kB / 0.5644 GB, free: 1.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4235, allocations: 8.031 kB / 0.5644 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.4236, allocations: 34.75 kB / 0.5645 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.4236, allocations: 8.891 kB / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.4238, allocations: 130.4 kB / 0.5646 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.4238, allocations: 4.375 kB / 0.5646 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.4238, allocations: 4.375 kB / 0.5646 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.4239, allocations: 54.19 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4239, allocations: 3.938 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.4239, allocations: 4 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.4239, allocations: 3.938 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.188e-05/0.424, allocations: 23.97 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.4244, allocations: 255.9 kB / 0.5649 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.4246, allocations: 46.5 kB / 0.565 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/0.4246, allocations: 20.94 kB / 0.565 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.4247, allocations: 0 / 0.565 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.4247, allocations: 34.56 kB / 0.565 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.4247, allocations: 0 / 0.565 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005407/0.4252, allocations: 153.4 kB / 0.5652 GB, free: 424 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.4253, allocations: 51.41 kB / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.4254, allocations: 150.1 kB / 0.5654 GB, free: 196 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.4254, allocations: 29.7 kB / 0.5654 GB, free: 160 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.4255, allocations: 104 kB / 0.5655 GB, free: 52 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.4255, allocations: 15.84 kB / 0.5655 GB, free: 36 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.4256, allocations: 17.72 kB / 0.5655 GB, free: 12 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4257, allocations: 326.8 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.4258, allocations: 23.98 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.4259, allocations: 19.98 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.426, allocations: 48.83 kB / 0.5659 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.426, allocations: 7.938 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001826/0.4262, allocations: 81.61 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.4262, allocations: 4 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4262, allocations: 4 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4262, allocations: 4 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.4263, allocations: 15.98 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.4263, allocations: 0 / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.4263, allocations: 4 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.4263, allocations: 3.984 kB / 0.5661 GB, free: 15.46 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 (5): * Single equations (assignments): 5 * 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 9.277e-05/0.4264, allocations: 122.7 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.4265, allocations: 3.953 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.4267, allocations: 110.2 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4267, allocations: 0 / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.4267, allocations: 0 / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4267, allocations: 4 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004363/0.4271, allocations: 329.5 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4271, allocations: 4.219 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.4272, allocations: 8 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.4272, allocations: 11.98 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.4272, allocations: 0 / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4272, allocations: 0 / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4272, allocations: 3.938 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.4274, allocations: 187.5 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.4275, allocations: 3.953 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.4275, allocations: 8 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.346e-05/0.4275, allocations: 0 / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.4276, allocations: 11.92 kB / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.4276, allocations: 0 / 0.5668 GB, free: 14.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.45e-05/0.4277, allocations: 121.7 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4277, allocations: 3.938 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.4279, allocations: 19.94 kB / 0.567 GB, free: 14.44 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 (5): * Single equations (assignments): 5 * 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.001851/0.4298, allocations: 1.012 MB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.4299, allocations: 47.91 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4299, allocations: 0 / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.43, allocations: 31.91 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.4304, allocations: 23.92 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.4321, allocations: 1.461 MB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.4324, allocations: 0.6924 MB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.518e-05/0.4325, allocations: 27.83 kB / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.4325, allocations: 23.44 kB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4325, allocations: 0 / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.4594, allocations: 2.63 MB / 0.5728 GB, free: 8.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.473, allocations: 10.56 kB / 0.5728 GB, free: 8.496 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.559373806230724] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.615423276089132 8.629525143 8.203495786 Calling exit ...