Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001292/0.001292, allocations: 109 kB / 21.23 MB, free: 0.5117 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.001401/0.001401, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.474/1.474, allocations: 230.5 MB / 258.2 MB, free: 8.242 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.2354/0.2354, allocations: 46.93 MB / 361.6 MB, free: 4.27 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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10",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.003558/0.003558, allocations: 75.88 kB / 0.497 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3288, allocations: 66.1 MB / 0.5615 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003156/0.3319, allocations: 1.668 MB / 0.5632 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.3338, allocations: 1.294 MB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.3339, allocations: 4 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.3341, allocations: 27.84 kB / 0.5645 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.3344, allocations: 87.55 kB / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.3348, allocations: 175 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.335, allocations: 83.75 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.3351, allocations: 13.95 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.3352, allocations: 35.84 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.3353, allocations: 35.84 kB / 0.5649 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3353, allocations: 8 kB / 0.5649 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.3355, allocations: 103.9 kB / 0.565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.3356, allocations: 19.91 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.3356, allocations: 35.8 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.3359, allocations: 155.4 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3359, allocations: 4 kB / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3359, allocations: 0 / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3359, allocations: 0 / 0.5652 GB, free: 0.6133 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.0005744/0.3365, allocations: 349.5 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3365, allocations: 12.03 kB / 0.5655 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.3366, allocations: 34.75 kB / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.3366, allocations: 8.891 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.3368, allocations: 146.3 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-06/0.3368, allocations: 384 / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.3368, allocations: 4.375 kB / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.3371, allocations: 83.88 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3371, allocations: 3.938 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-06/0.3371, allocations: 0 / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3371, allocations: 4 kB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.3372, allocations: 35.97 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.3377, allocations: 291.8 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.3378, allocations: 50.48 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.3379, allocations: 28.94 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.3379, allocations: 0 / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.338, allocations: 34.56 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.338, allocations: 0 / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008238/0.3388, allocations: 233.3 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3389, allocations: 77.11 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.3391, allocations: 156 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3391, allocations: 25.7 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.3391, allocations: 100.1 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.3392, allocations: 35.78 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.3392, allocations: 21.72 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3394, allocations: 326.8 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.3395, allocations: 39.97 kB / 0.5672 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.3396, allocations: 49.69 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.3398, allocations: 96.97 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3398, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002966/0.3401, allocations: 121.6 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3402, allocations: 14.33 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3402, allocations: 0 / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3402, allocations: 0 / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3403, allocations: 19.98 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3403, allocations: 4 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.486e-05/0.3404, allocations: 7.984 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3404, allocations: 4 kB / 0.5675 GB, free: 14.03 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 (7): * Single equations (assignments): 7 * 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.0001015/0.3405, allocations: 125.7 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.3405, allocations: 11.91 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.3409, allocations: 146.3 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3409, allocations: 4 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.3409, allocations: 0 / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3409, allocations: 0 / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005724/0.3415, allocations: 385.5 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3415, allocations: 0 / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/0.3416, allocations: 23.98 kB / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3416, allocations: 4 kB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3416, allocations: 7.984 kB / 0.5682 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3416, allocations: 3.938 kB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3416, allocations: 0 / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.3419, allocations: 227.4 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.342, allocations: 11.95 kB / 0.5684 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.342, allocations: 4.281 kB / 0.5684 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3421, allocations: 19.86 kB / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.3421, allocations: 7.922 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.3421, allocations: 4 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.3422, allocations: 115.2 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3422, allocations: 0 / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.3425, allocations: 47.86 kB / 0.5686 GB, free: 12.82 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 (7): * Single equations (assignments): 7 * 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.002304/0.3448, allocations: 1.144 MB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.3451, allocations: 83.94 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3451, allocations: 4 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.3453, allocations: 47.95 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3456, allocations: 21.94 kB / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.3479, allocations: 1.656 MB / 0.5715 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.3482, allocations: 0.7117 MB / 0.5722 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.3483, allocations: 32.39 kB / 0.5722 GB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.3484, allocations: 31.42 kB / 0.5722 GB, free: 9.121 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3484, allocations: 0 / 0.5722 GB, free: 9.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.3765, allocations: 3.665 MB / 0.5758 GB, free: 5.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.402, allocations: 12 kB / 0.5758 GB, free: 5.418 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.411861134227365] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.546631097327918 8.57201628 8.231310405 Calling exit ...