Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001617/0.001617, allocations: 109 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.001753/0.001753, allocations: 213.9 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.442/1.442, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2286/0.2286, allocations: 46.92 MB / 361.6 MB, free: 4.199 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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",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.003424/0.003424, allocations: 83.84 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3388, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003119/0.342, allocations: 1.669 MB / 0.5632 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3431, allocations: 0.5694 MB / 0.5637 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.3432, allocations: 3.938 kB / 0.5637 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.3435, allocations: 95.73 kB / 0.5638 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.3438, allocations: 111.6 kB / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.3441, allocations: 123.6 kB / 0.564 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.3443, allocations: 107.7 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3445, allocations: 19.98 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.378e-05/0.3446, allocations: 47.83 kB / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.3447, allocations: 71.73 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3447, allocations: 4 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3448, allocations: 47.98 kB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.3449, allocations: 31.8 kB / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.3449, allocations: 43.66 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3452, allocations: 131.4 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3452, allocations: 0 / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3452, allocations: 0 / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3452, allocations: 7.938 kB / 0.5645 GB, free: 1.227 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005569/0.3457, allocations: 361.5 kB / 0.5649 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3458, allocations: 8.031 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.3458, allocations: 38.75 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.3459, allocations: 16.78 kB / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.3461, allocations: 158.3 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3461, allocations: 4.375 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.3461, allocations: 8.375 kB / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3463, allocations: 74.22 kB / 0.5652 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.3463, allocations: 11.89 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3463, allocations: 0 / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3463, allocations: 0 / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.3465, allocations: 47.89 kB / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.347, allocations: 311.8 kB / 0.5655 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.3471, allocations: 66.5 kB / 0.5656 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.581e-05/0.3472, allocations: 24.84 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.3472, allocations: 0 / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.3473, allocations: 38.55 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.3473, allocations: 0 / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001115/0.3484, allocations: 349 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3484, allocations: 59.34 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.3487, allocations: 239.5 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.3487, allocations: 25.7 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.3488, allocations: 112.1 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.3488, allocations: 51.56 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.3489, allocations: 33.7 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.349, allocations: 326.8 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.3491, allocations: 43.97 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.3492, allocations: 47.97 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.3495, allocations: 104.8 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3495, allocations: 0 / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002862/0.3497, allocations: 157.5 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3498, allocations: 4 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.3498, allocations: 0 / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3498, allocations: 3.938 kB / 0.5671 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3499, allocations: 43.84 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3499, allocations: 0 / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.35, allocations: 4 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.35, allocations: 4 kB / 0.5672 GB, free: 14.3 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 (13): * Single equations (assignments): 13 * 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.0001192/0.3501, allocations: 142.7 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.3501, allocations: 15.91 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.3505, allocations: 186.5 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3506, allocations: 7.938 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3506, allocations: 0 / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3506, allocations: 0 / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006809/0.3512, allocations: 478.2 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3512, allocations: 0 / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-05/0.3513, allocations: 27.98 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3513, allocations: 0 / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3514, allocations: 4 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3514, allocations: 7.938 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3514, allocations: 0 / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.3517, allocations: 256.2 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.3517, allocations: 19.91 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.3518, allocations: 0 / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.3518, allocations: 4 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.3519, allocations: 11.98 kB / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.3519, allocations: 7.984 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.3521, allocations: 185.1 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3521, allocations: 0 / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.3523, allocations: 31.92 kB / 0.5685 GB, free: 12.86 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 (13): * Single equations (assignments): 13 * 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.002159/0.3545, allocations: 1.133 MB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.3548, allocations: 107.1 kB / 0.5697 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3548, allocations: 4 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3549, allocations: 63.89 kB / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.3553, allocations: 22.62 kB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.3576, allocations: 1.921 MB / 0.5717 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.3579, allocations: 0.7281 MB / 0.5724 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.453e-05/0.358, allocations: 24.47 kB / 0.5724 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.3581, allocations: 47.42 kB / 0.5725 GB, free: 8.836 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3581, allocations: 0 / 0.5725 GB, free: 8.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.3848, allocations: 3.716 MB / 0.5761 GB, free: 5.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.479, allocations: 8.656 kB / 0.5761 GB, free: 5.117 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.356736819259822] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.620276603847742 8.64042389 8.291172621 Calling exit ...