Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001399/0.001399, 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.001439/0.001439, allocations: 212 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.514/1.514, allocations: 230.5 MB / 258.2 MB, free: 8.062 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.2324/0.2324, allocations: 46.92 MB / 361.6 MB, free: 4.23 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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3",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.003173/0.003173, allocations: 79.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3707, allocations: 66.08 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003857/0.3746, allocations: 1.642 MB / 0.5631 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3757, allocations: 0.5615 MB / 0.5637 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.3758, allocations: 4 kB / 0.5637 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.3761, allocations: 75.77 kB / 0.5638 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.3764, allocations: 103.6 kB / 0.5639 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.3768, allocations: 111.2 kB / 0.564 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.377, allocations: 83.77 kB / 0.564 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3771, allocations: 15.97 kB / 0.5641 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.3772, allocations: 35.86 kB / 0.5641 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3773, allocations: 55.81 kB / 0.5641 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.3773, allocations: 4 kB / 0.5641 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.3774, allocations: 39.98 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.3775, allocations: 27.86 kB / 0.5642 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.3776, allocations: 31.8 kB / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3778, allocations: 111.4 kB / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3778, allocations: 4 kB / 0.5644 GB, free: 1.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3778, allocations: 0 / 0.5644 GB, free: 1.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.3778, allocations: 0 / 0.5644 GB, free: 1.398 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005551/0.3784, allocations: 329.7 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3784, allocations: 12.03 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.71e-05/0.3785, allocations: 34.75 kB / 0.5647 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.3785, allocations: 16.83 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.3788, allocations: 135.2 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3788, allocations: 8.359 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.3788, allocations: 384 / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.3791, allocations: 66.16 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3791, allocations: 3.938 kB / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3791, allocations: 4 kB / 0.5649 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3791, allocations: 0 / 0.5649 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.3792, allocations: 31.97 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.3798, allocations: 267.9 kB / 0.5652 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3799, allocations: 50.5 kB / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.38, allocations: 20.94 kB / 0.5653 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.38, allocations: 0 / 0.5653 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.38, allocations: 30.56 kB / 0.5653 GB, free: 280 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.38, allocations: 3.938 kB / 0.5653 GB, free: 276 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009742/0.381, allocations: 237.2 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.3811, allocations: 59.34 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.3813, allocations: 199.3 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3813, allocations: 25.7 kB / 0.5658 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.206e-05/0.3814, allocations: 104.2 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.3815, allocations: 35.72 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.3815, allocations: 21.72 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3817, allocations: 330.8 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.3818, allocations: 35.91 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-05/0.3819, allocations: 27.98 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.382, allocations: 72.81 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.382, allocations: 0 / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002256/0.3823, allocations: 109.6 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3823, allocations: 10.34 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3823, allocations: 0 / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3823, allocations: 0 / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.3824, allocations: 27.92 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3824, allocations: 0 / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.3825, allocations: 7.984 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3825, allocations: 3.938 kB / 0.5666 GB, free: 14.92 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 (8): * Single equations (assignments): 8 * 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.000114/0.3826, allocations: 129.8 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.3826, allocations: 15.91 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.383, allocations: 135.3 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.383, allocations: 0 / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.383, allocations: 0 / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.383, allocations: 432 / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.3836, allocations: 394.2 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3836, allocations: 4.031 kB / 0.5672 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.385e-05/0.3837, allocations: 23.98 kB / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3837, allocations: 0 / 0.5672 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.3837, allocations: 7.875 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3837, allocations: 4 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3837, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.3839, allocations: 224.2 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.384, allocations: 7.953 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.384, allocations: 3.938 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.3841, allocations: 4 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.3841, allocations: 11.98 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3841, allocations: 0 / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.3842, allocations: 157.6 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3842, allocations: 0 / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.3845, allocations: 19.94 kB / 0.5677 GB, free: 13.71 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 (8): * Single equations (assignments): 8 * 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.002286/0.3868, allocations: 1.093 MB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.387, allocations: 71.95 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.387, allocations: 0 / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3871, allocations: 47.83 kB / 0.5688 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.3876, allocations: 31.11 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.3897, allocations: 1.679 MB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.3901, allocations: 0.7041 MB / 0.5712 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.173e-05/0.3902, allocations: 20.66 kB / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.3902, allocations: 35.42 kB / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3902, allocations: 0 / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.4165, allocations: 3.19 MB / 0.5744 GB, free: 6.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.317, allocations: 1.719 kB / 0.5744 GB, free: 6.867 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.347230566199869] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.45773339876905 8.479045538 8.097031801 Calling exit ...